Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.005692/0.005692, allocations: 96.62 kB / 15.73 MB, free: 6.004 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.001448/0.001448, allocations: 185.4 kB / 16.67 MB, free: 5.938 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8858/0.8858, allocations: 135.6 MB / 426.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 70.95 kB / 0.5857 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1539, allocations: 81.02 MB / 0.6648 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002818/0.1568, allocations: 1.403 MB / 0.6662 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004856/0.1573, allocations: 207.5 kB / 0.6664 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.1574, allocations: 0 / 0.6664 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.964e-05/0.1574, allocations: 0 / 0.6664 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.1575, allocations: 7.922 kB / 0.6664 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1577, allocations: 23.91 kB / 0.6664 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.175e-05/0.1578, allocations: 19.92 kB / 0.6665 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.1579, allocations: 15.94 kB / 0.6665 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.331e-05/0.1579, allocations: 11.92 kB / 0.6665 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.158, allocations: 8 kB / 0.6665 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.158, allocations: 0 / 0.6665 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.352e-05/0.1581, allocations: 27.97 kB / 0.6665 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.1581, allocations: 7.938 kB / 0.6665 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.1581, allocations: 7.984 kB / 0.6665 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.1583, allocations: 40.12 kB / 0.6666 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1583, allocations: 4 kB / 0.6666 GB, free: 4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1583, allocations: 0 / 0.6666 GB, free: 4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1583, allocations: 0 / 0.6666 GB, free: 4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004726/0.1588, allocations: 343.4 kB / 0.6669 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1588, allocations: 13.11 kB / 0.6669 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.1589, allocations: 38.72 kB / 0.667 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.159, allocations: 4.938 kB / 0.667 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.1591, allocations: 160.4 kB / 0.6671 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1592, allocations: 4.312 kB / 0.6671 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.1592, allocations: 8.375 kB / 0.6671 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1593, allocations: 50.17 kB / 0.6672 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1594, allocations: 3.938 kB / 0.6672 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1594, allocations: 8 kB / 0.6672 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1594, allocations: 0 / 0.6672 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.1596, allocations: 31.95 kB / 0.6672 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1599, allocations: 244.9 kB / 0.6674 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1601, allocations: 54.42 kB / 0.6675 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.1602, allocations: 16.91 kB / 0.6675 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1602, allocations: 3.938 kB / 0.6675 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1602, allocations: 30.56 kB / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1602, allocations: 0 / 0.6675 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.1606, allocations: 85.64 kB / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1606, allocations: 51.41 kB / 0.6677 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.1607, allocations: 105.8 kB / 0.6678 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1608, allocations: 25.7 kB / 0.6678 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.1608, allocations: 80.14 kB / 0.6679 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1608, allocations: 11.88 kB / 0.6679 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1609, allocations: 17.72 kB / 0.6679 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.161, allocations: 315 kB / 0.6682 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.09e-05/0.1611, allocations: 19.97 kB / 0.6682 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1612, allocations: 19.92 kB / 0.6682 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1614, allocations: 32.83 kB / 0.6683 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1614, allocations: 7.938 kB / 0.6683 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.1616, allocations: 65.72 kB / 0.6683 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1616, allocations: 8 kB / 0.6684 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1616, allocations: 0 / 0.6684 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1617, allocations: 0 / 0.6684 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.7e-05/0.1617, allocations: 11.98 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1618, allocations: 0 / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.1618, allocations: 11.98 kB / 0.6684 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.1618, allocations: 4 kB / 0.6684 GB, free: 1.914 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 (2): * Single equations (assignments): 2 * 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 9.422e-05/0.1619, allocations: 117.8 kB / 0.6685 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.162, allocations: 3.953 kB / 0.6685 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.1622, allocations: 76.77 kB / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1622, allocations: 3.938 kB / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1622, allocations: 0 / 0.6686 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1623, allocations: 4.234 kB / 0.6686 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.1624, allocations: 161.6 kB / 0.6687 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1624, allocations: 0 / 0.6687 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.1625, allocations: 11.98 kB / 0.6687 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1625, allocations: 3.984 kB / 0.6687 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1625, allocations: 4 kB / 0.6688 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1626, allocations: 0 / 0.6688 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1626, allocations: 0 / 0.6688 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1628, allocations: 179.4 kB / 0.6689 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.1629, allocations: 77.11 kB / 0.669 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1629, allocations: 0 / 0.669 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.163, allocations: 4 kB / 0.669 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.163, allocations: 11.92 kB / 0.669 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.163, allocations: 0 / 0.669 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.1631, allocations: 83.28 kB / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1631, allocations: 0 / 0.6691 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002145/0.1633, allocations: 7.953 kB / 0.6691 GB, free: 1.074 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0006093/0.1639, allocations: 0.7045 MB / 0.6698 GB, free: 348 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.1642, allocations: 39.95 kB / 0.6698 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1642, allocations: 0 / 0.6698 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.664e-05/0.1643, allocations: 19.98 kB / 0.6698 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1646, allocations: 4 kB / 0.6698 GB, free: 284 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004324/0.165, allocations: 152.1 kB / 0.67 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1654, allocations: 0.6729 MB / 0.6707 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.1654, allocations: 8.062 kB / 0.6707 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.1654, allocations: 11.42 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1655, allocations: 0 / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.1889, allocations: 1.349 MB / 0.672 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/7.98, allocations: 20.7 kB / 0.672 GB, free: 14.11 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)