Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",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.008092/0.008092, allocations: 106.3 kB / 15.74 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.001854/0.001854, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7673/0.7673, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.94 kB / 0.5851 GB, free: 21.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1565, allocations: 80.92 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00258/0.1591, allocations: 1.403 MB / 0.6655 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.1601, allocations: 0.5889 MB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1602, allocations: 0 / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.1602, allocations: 3.938 kB / 0.6661 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.588e-05/0.1603, allocations: 11.91 kB / 0.6661 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.1607, allocations: 91.58 kB / 0.6662 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.089e-05/0.1608, allocations: 27.92 kB / 0.6662 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.755e-05/0.1609, allocations: 12 kB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.161, allocations: 15.86 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.161, allocations: 15.97 kB / 0.6663 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.161, allocations: 3.938 kB / 0.6663 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.1613, allocations: 139.8 kB / 0.6664 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.332e-05/0.1613, allocations: 7.984 kB / 0.6664 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.1614, allocations: 7.938 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1616, allocations: 102.6 kB / 0.6665 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1616, allocations: 4 kB / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.765e-06/0.1616, allocations: 0 / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.1616, allocations: 3.938 kB / 0.6665 GB, free: 3.859 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.0004815/0.1621, allocations: 360.3 kB / 0.6669 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.1621, allocations: 9.109 kB / 0.6669 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.1622, allocations: 30.75 kB / 0.6669 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.1626, allocations: 32.81 kB / 0.6669 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.1628, allocations: 172.3 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1628, allocations: 4.375 kB / 0.6671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1628, allocations: 384 / 0.6671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.163, allocations: 62.2 kB / 0.6671 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1631, allocations: 3.938 kB / 0.6672 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1631, allocations: 7.938 kB / 0.6672 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1631, allocations: 0 / 0.6672 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.1633, allocations: 59.92 kB / 0.6672 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.1638, allocations: 264.9 kB / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.164, allocations: 66.47 kB / 0.6675 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1642, allocations: 28.89 kB / 0.6676 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1642, allocations: 4 kB / 0.6676 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1642, allocations: 34.5 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/0.1643, allocations: 4 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004896/0.1647, allocations: 109.6 kB / 0.6677 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.1648, allocations: 51.41 kB / 0.6678 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.1649, allocations: 101.8 kB / 0.6679 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1649, allocations: 29.83 kB / 0.6679 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/0.165, allocations: 88.05 kB / 0.668 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.165, allocations: 0 / 0.668 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.165, allocations: 17.7 kB / 0.668 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1652, allocations: 314.8 kB / 0.6683 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1653, allocations: 27.97 kB / 0.6683 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1654, allocations: 35.84 kB / 0.6683 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1657, allocations: 52.81 kB / 0.6684 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1657, allocations: 3.938 kB / 0.6684 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003101/0.166, allocations: 93.59 kB / 0.6685 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.166, allocations: 8 kB / 0.6685 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.166, allocations: 7.938 kB / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.1661, allocations: 0 / 0.6685 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.1662, allocations: 11.98 kB / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1662, allocations: 0 / 0.6685 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.1663, allocations: 16.02 kB / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1663, allocations: 0 / 0.6685 GB, free: 1.555 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 7.751e-05/0.1664, allocations: 117.8 kB / 0.6686 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1664, allocations: 3.938 kB / 0.6686 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.1665, allocations: 3.125 kB / 0.6686 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1665, allocations: 4 kB / 0.6687 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1665, allocations: 0 / 0.6687 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1665, allocations: 4 kB / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1667, allocations: 165.6 kB / 0.6688 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1667, allocations: 0 / 0.6688 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1668, allocations: 15.97 kB / 0.6688 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1668, allocations: 4 kB / 0.6688 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1668, allocations: 0 / 0.6688 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1668, allocations: 0 / 0.6688 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1668, allocations: 0 / 0.6688 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.1672, allocations: 187.4 kB / 0.669 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.1672, allocations: 85.02 kB / 0.6691 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1672, allocations: 0 / 0.6691 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1673, allocations: 7.984 kB / 0.6691 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1674, allocations: 0 / 0.6691 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.1674, allocations: 8.031 kB / 0.6691 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.1674, allocations: 91.2 kB / 0.6692 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1675, allocations: 0 / 0.6692 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000229/0.1677, allocations: 8 kB / 0.6692 GB, free: 0.7656 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 (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 Backend phase and start with SimCode phase: time 0.00067/0.1684, allocations: 0.7358 MB / 0.6699 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.1687, allocations: 59.88 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1687, allocations: 4.094 kB / 0.67 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.1688, allocations: 35.89 kB / 0.67 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1691, allocations: 9.875 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.1698, allocations: 160.2 kB / 0.6702 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1701, allocations: 0.6768 MB / 0.6708 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.593e-05/0.1701, allocations: 15.97 kB / 0.6709 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.1702, allocations: 11.44 kB / 0.6709 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.1702, allocations: 0 / 0.6709 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.1873, allocations: 1.649 MB / 0.6725 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.559, allocations: 17.62 kB / 0.6725 GB, free: 13.41 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)