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.005665/0.005665, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001234/0.001235, allocations: 197.7 kB / 16.68 MB, free: 5.961 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8238/0.8238, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 66.05 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1635, allocations: 80.93 MB / 0.6641 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002808/0.1664, allocations: 1.406 MB / 0.6655 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006446/0.1671, allocations: 215.4 kB / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.1671, allocations: 0 / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.372e-05/0.1672, allocations: 3.938 kB / 0.6657 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-05/0.1673, allocations: 3.938 kB / 0.6657 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.1676, allocations: 23.89 kB / 0.6657 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1677, allocations: 27.92 kB / 0.6658 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1679, allocations: 4 kB / 0.6658 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.815e-05/0.168, allocations: 11.94 kB / 0.6658 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.168, allocations: 19.91 kB / 0.6658 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.168, allocations: 0 / 0.6658 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.1682, allocations: 23.98 kB / 0.6658 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.1682, allocations: 11.92 kB / 0.6658 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.1682, allocations: 8 kB / 0.6658 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1684, allocations: 38.7 kB / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1684, allocations: 0 / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.043e-06/0.1685, allocations: 0 / 0.6659 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.1685, allocations: 4 kB / 0.6659 GB, free: 4.527 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.0006182/0.1691, allocations: 336.1 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.1692, allocations: 13.11 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.1692, allocations: 30.75 kB / 0.6662 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1694, allocations: 12.83 kB / 0.6663 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.1696, allocations: 168.6 kB / 0.6664 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1696, allocations: 4.375 kB / 0.6664 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1696, allocations: 4.312 kB / 0.6664 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1698, allocations: 50.23 kB / 0.6665 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1698, allocations: 3.938 kB / 0.6665 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1699, allocations: 7.938 kB / 0.6665 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1699, allocations: 4 kB / 0.6665 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.1701, allocations: 31.95 kB / 0.6665 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.1705, allocations: 241 kB / 0.6668 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1707, allocations: 42.5 kB / 0.6668 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.1708, allocations: 28.83 kB / 0.6668 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1708, allocations: 0 / 0.6668 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1709, allocations: 34.56 kB / 0.6669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1709, allocations: 0 / 0.6669 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004025/0.1713, allocations: 77.73 kB / 0.6669 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1713, allocations: 55.44 kB / 0.667 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.1714, allocations: 105.8 kB / 0.6671 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1715, allocations: 25.7 kB / 0.6671 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.1715, allocations: 88.03 kB / 0.6672 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.1715, allocations: 4 kB / 0.6672 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.1716, allocations: 13.72 kB / 0.6672 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1717, allocations: 310.8 kB / 0.6675 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.391e-05/0.1718, allocations: 19.98 kB / 0.6675 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.1719, allocations: 19.97 kB / 0.6675 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.172, allocations: 32.83 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1721, allocations: 3.938 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001997/0.1723, allocations: 77.62 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1723, allocations: 6.031 kB / 0.6677 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1723, allocations: 11.94 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1723, allocations: 3.938 kB / 0.6677 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/0.1724, allocations: 7.984 kB / 0.6677 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1724, allocations: 0 / 0.6677 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.148e-05/0.1725, allocations: 4 kB / 0.6677 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1725, allocations: 3.984 kB / 0.6677 GB, free: 2.449 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 8.218e-05/0.1726, allocations: 117.8 kB / 0.6678 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1726, allocations: 0 / 0.6678 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.1729, allocations: 72.78 kB / 0.6679 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1729, allocations: 0 / 0.6679 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1729, allocations: 0 / 0.6679 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1729, allocations: 3.984 kB / 0.6679 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.1731, allocations: 161.6 kB / 0.668 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1731, allocations: 3.938 kB / 0.668 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.194e-05/0.1732, allocations: 23.92 kB / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1732, allocations: 0 / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1732, allocations: 0 / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1732, allocations: 0 / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1732, allocations: 240 / 0.6681 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1735, allocations: 171.4 kB / 0.6682 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.1735, allocations: 85.02 kB / 0.6683 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.1735, allocations: 3.984 kB / 0.6683 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1736, allocations: 4 kB / 0.6683 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.1737, allocations: 3.984 kB / 0.6683 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1737, allocations: 4 kB / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.464e-05/0.1737, allocations: 83.28 kB / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1737, allocations: 0 / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002161/0.1739, allocations: 4 kB / 0.6684 GB, free: 1.617 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.0005494/0.1745, allocations: 0.7058 MB / 0.6691 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.1747, allocations: 35.97 kB / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1747, allocations: 0 / 0.6691 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.858e-05/0.1748, allocations: 31.97 kB / 0.6691 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1752, allocations: 4 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.1758, allocations: 140.2 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1761, allocations: 0.6807 MB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.1761, allocations: 4 kB / 0.67 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.1762, allocations: 7.438 kB / 0.67 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1762, allocations: 0 / 0.67 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.1941, allocations: 1.378 MB / 0.6713 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.375, allocations: 0.9375 kB / 0.6713 GB, free: 14.65 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)