Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007493/0.007493, allocations: 95.83 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 205 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9981/0.9981, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001876, allocations: 64.14 kB / 0.5858 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4116, allocations: 81.03 MB / 0.6649 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002305/0.4139, allocations: 1.269 MB / 0.6661 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.4148, allocations: 0.6464 MB / 0.6668 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.876e-05/0.4149, allocations: 0 / 0.6668 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.4149, allocations: 3.938 kB / 0.6668 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.4149, allocations: 1.688 kB / 0.6668 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.4154, allocations: 114.8 kB / 0.6669 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.887e-05/0.4154, allocations: 24.3 kB / 0.6669 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.4155, allocations: 2.875 kB / 0.6669 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.4155, allocations: 12.3 kB / 0.6669 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.4156, allocations: 17.34 kB / 0.6669 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.4156, allocations: 1.125 kB / 0.6669 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.4159, allocations: 142.6 kB / 0.6671 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.4159, allocations: 9.094 kB / 0.6671 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/0.4159, allocations: 12.84 kB / 0.6671 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.4161, allocations: 90.92 kB / 0.6672 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4161, allocations: 4 kB / 0.6672 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4162, allocations: 1.344 kB / 0.6672 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.4162, allocations: 0 / 0.6672 GB, free: 5.344 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004108/0.4166, allocations: 362 kB / 0.6675 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4166, allocations: 9.688 kB / 0.6675 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.4167, allocations: 31.97 kB / 0.6676 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000396/0.4171, allocations: 33.7 kB / 0.6676 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.557e-05/0.4171, allocations: 165.5 kB / 0.6678 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4172, allocations: 4.375 kB / 0.6678 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4172, allocations: 2.938 kB / 0.6678 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.4173, allocations: 57.86 kB / 0.6678 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4173, allocations: 7.938 kB / 0.6678 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4174, allocations: 0 / 0.6678 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4174, allocations: 5.109 kB / 0.6678 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.4175, allocations: 30.2 kB / 0.6679 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.4176, allocations: 160.3 kB / 0.668 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.4179, allocations: 66.86 kB / 0.6681 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.418, allocations: 32.81 kB / 0.6681 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.418, allocations: 5.297 kB / 0.6681 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.223e-05/0.4181, allocations: 35.62 kB / 0.6681 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4181, allocations: 0 / 0.6681 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003122/0.4212, allocations: 0.5703 MB / 0.6687 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.4212, allocations: 52.47 kB / 0.6687 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.547e-05/0.4213, allocations: 96.55 kB / 0.6688 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4213, allocations: 26.89 kB / 0.6689 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.248e-05/0.4213, allocations: 80.14 kB / 0.6689 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.4213, allocations: 30.23 kB / 0.669 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.4214, allocations: 28.7 kB / 0.669 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.4214, allocations: 316.2 kB / 0.6693 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.4216, allocations: 42.33 kB / 0.6693 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.4217, allocations: 34.84 kB / 0.6694 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.422, allocations: 87.17 kB / 0.6695 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.422, allocations: 0 / 0.6695 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000321/0.4223, allocations: 120.6 kB / 0.6696 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.4223, allocations: 9.531 kB / 0.6696 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4223, allocations: 0 / 0.6696 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4224, allocations: 1.094 kB / 0.6696 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.4226, allocations: 30.31 kB / 0.6696 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4226, allocations: 0 / 0.6696 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.4227, allocations: 4.219 kB / 0.6696 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.4227, allocations: 10.33 kB / 0.6696 GB, free: 3.023 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.4228, allocations: 112.7 kB / 0.6697 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.4228, allocations: 5.281 kB / 0.6697 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.4229, allocations: 9.406 kB / 0.6697 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4229, allocations: 1.312 kB / 0.6697 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4229, allocations: 0 / 0.6697 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4229, allocations: 13.2 kB / 0.6698 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.423, allocations: 186.4 kB / 0.6699 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.423, allocations: 3.984 kB / 0.6699 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.4232, allocations: 26.3 kB / 0.67 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4233, allocations: 1.531 kB / 0.67 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.4233, allocations: 1.188 kB / 0.67 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4233, allocations: 240 / 0.67 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4233, allocations: 1.531 kB / 0.67 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.4238, allocations: 209.4 kB / 0.6702 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.4238, allocations: 82.11 kB / 0.6703 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.4238, allocations: 1.125 kB / 0.6703 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.424, allocations: 18.48 kB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.424, allocations: 2.219 kB / 0.6703 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.424, allocations: 7.078 kB / 0.6703 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.56e-05/0.4241, allocations: 76.41 kB / 0.6704 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4241, allocations: 1.5 kB / 0.6704 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002504/0.4243, allocations: 34.44 kB / 0.6704 GB, free: 2.289 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007067/0.425, allocations: 0.7554 MB / 0.6711 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.4254, allocations: 89.77 kB / 0.6712 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4254, allocations: 0 / 0.6712 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4255, allocations: 51.89 kB / 0.6713 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.4258, allocations: 11.59 kB / 0.6713 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.4275, allocations: 1.358 MB / 0.6726 GB, free: 272 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.4279, allocations: 0.6801 MB / 0.6733 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.428, allocations: 27.94 kB / 0.6733 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.274e-05/0.4281, allocations: 23.16 kB / 0.6733 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.4281, allocations: 1.344 kB / 0.6733 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.4539, allocations: 2.47 MB / 0.6757 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.886, allocations: 6.219 kB / 0.6757 GB, free: 14.27 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)