Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 121.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9055/0.9055, allocations: 133.9 MB / 443.5 MB, free: 13.83 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 65.88 kB / 0.6141 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1646, allocations: 85.85 MB / 0.6979 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003568/0.1682, allocations: 1.431 MB / 0.6993 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005447/0.1687, allocations: 222.5 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.821e-05/0.1687, allocations: 3.938 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1688, allocations: 1.375 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.362e-05/0.1688, allocations: 3.938 kB / 0.6995 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1691, allocations: 30.77 kB / 0.6996 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.1692, allocations: 25.5 kB / 0.6996 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.1693, allocations: 6.734 kB / 0.6996 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.1693, allocations: 8.125 kB / 0.6996 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.1693, allocations: 14.67 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1693, allocations: 2.75 kB / 0.6996 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.576e-05/0.1694, allocations: 29.86 kB / 0.6997 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1695, allocations: 7.984 kB / 0.6997 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.1695, allocations: 15.98 kB / 0.6997 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1696, allocations: 35.77 kB / 0.6997 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1696, allocations: 5.375 kB / 0.6997 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1696, allocations: 0 / 0.6997 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1696, allocations: 0 / 0.6997 GB, free: 12.33 MB / 0.5137 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.0005114/0.1701, allocations: 338.5 kB / 0.7 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1702, allocations: 11.3 kB / 0.7001 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.319e-05/0.1702, allocations: 1.562 kB / 0.7001 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1702, allocations: 30.75 kB / 0.7001 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.1704, allocations: 18.38 kB / 0.7001 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.1706, allocations: 173.7 kB / 0.7003 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-06/0.1706, allocations: 384 / 0.7003 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1706, allocations: 1.75 kB / 0.7003 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.1708, allocations: 56.92 kB / 0.7003 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1708, allocations: 1.375 kB / 0.7003 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.1708, allocations: 0 / 0.7003 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1708, allocations: 0 / 0.7003 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.171, allocations: 35.2 kB / 0.7004 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.1713, allocations: 249.1 kB / 0.7006 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1715, allocations: 42.91 kB / 0.7006 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/0.1716, allocations: 18.47 kB / 0.7007 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.1716, allocations: 0 / 0.7007 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1716, allocations: 39.94 kB / 0.7007 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1716, allocations: 0 / 0.7007 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003853/0.172, allocations: 81.22 kB / 0.7008 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.1721, allocations: 51.41 kB / 0.7008 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/0.1721, allocations: 107.3 kB / 0.7009 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1722, allocations: 25.83 kB / 0.7009 GB, free: 11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.1722, allocations: 85.52 kB / 0.701 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1722, allocations: 9.328 kB / 0.701 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1723, allocations: 15.03 kB / 0.7011 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1724, allocations: 312.2 kB / 0.7013 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.1725, allocations: 21.59 kB / 0.7014 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.1726, allocations: 12.23 kB / 0.7014 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.1727, allocations: 44.08 kB / 0.7014 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1727, allocations: 0 / 0.7014 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.1729, allocations: 69.03 kB / 0.7015 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.173, allocations: 5.5 kB / 0.7015 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.173, allocations: 0 / 0.7015 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.173, allocations: 0 / 0.7015 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.1731, allocations: 14.89 kB / 0.7015 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1731, allocations: 7.875 kB / 0.7015 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.1731, allocations: 12.3 kB / 0.7015 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1731, allocations: 1.375 kB / 0.7015 GB, free: 10.46 MB / 0.5137 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.881e-05/0.1732, allocations: 111.8 kB / 0.7016 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1732, allocations: 5.359 kB / 0.7016 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.1735, allocations: 80.14 kB / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1735, allocations: 0 / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1735, allocations: 1.375 kB / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1735, allocations: 0 / 0.7017 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1737, allocations: 163.1 kB / 0.7019 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1737, allocations: 0 / 0.7019 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.905e-05/0.1737, allocations: 10.86 kB / 0.7019 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1737, allocations: 1.375 kB / 0.7019 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1738, allocations: 0 / 0.7019 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.1738, allocations: 5.312 kB / 0.7019 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1738, allocations: 4 kB / 0.7019 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.174, allocations: 173.5 kB / 0.7021 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1741, allocations: 77.11 kB / 0.7021 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1741, allocations: 1.375 kB / 0.7021 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.1742, allocations: 4.125 kB / 0.7021 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1742, allocations: 9.359 kB / 0.7021 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1742, allocations: 5.312 kB / 0.7022 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.1742, allocations: 82.03 kB / 0.7022 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1742, allocations: 0 / 0.7022 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002141/0.1745, allocations: 5.5 kB / 0.7022 GB, free: 9.715 MB / 0.5137 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.0005651/0.175, allocations: 0.7056 MB / 0.7029 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.1752, allocations: 38.89 kB / 0.703 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1752, allocations: 0 / 0.703 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.1753, allocations: 20.55 kB / 0.703 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.1756, allocations: 1.25 kB / 0.703 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.1761, allocations: 156.4 kB / 0.7031 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1764, allocations: 0.6774 MB / 0.7038 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.1764, allocations: 1.688 kB / 0.7038 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.1765, allocations: 12.98 kB / 0.7038 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1765, allocations: 0 / 0.7038 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.1941, allocations: 1.409 MB / 0.7052 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.367/8.561, allocations: 13.66 kB / 0.7052 GB, free: 7.207 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.585888835019432] Failed to read output from testmodel.py, exit status != 0: 9.040839347988367 8.717806091 8.543357574 Calling exit ...