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.0009177/0.0009177, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005891/0.005891, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9/0.9, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 12.78 kB / 0.5077 GB, free: 4.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001571/0.1663, allocations: 1.12 MB / 0.5892 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.1673, allocations: 0.6024 MB / 0.5898 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.1674, allocations: 0 / 0.5898 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.1674, allocations: 0 / 0.5898 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.1675, allocations: 7.922 kB / 0.5898 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1678, allocations: 75.72 kB / 0.5898 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.1679, allocations: 27.86 kB / 0.5899 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.168, allocations: 0 / 0.5899 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.168, allocations: 19.91 kB / 0.5899 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.1681, allocations: 8 kB / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1681, allocations: 4 kB / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.1684, allocations: 151.7 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.1684, allocations: 3.938 kB / 0.59 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1684, allocations: 41.62 kB / 0.5901 GB, free: 476 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1686, allocations: 100 kB / 0.5902 GB, free: 376 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.1687, allocations: 0 / 0.5902 GB, free: 376 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1687, allocations: 0 / 0.5902 GB, free: 376 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1687, allocations: 0 / 0.5902 GB, free: 376 kB / 494.1 MB 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.0004507/0.1691, allocations: 359.4 kB / 0.5905 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1692, allocations: 12.03 kB / 0.5905 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.1692, allocations: 30.75 kB / 0.5906 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003902/0.1696, allocations: 28.89 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.1697, allocations: 160.4 kB / 0.5907 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1697, allocations: 8.375 kB / 0.5907 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.1698, allocations: 4.312 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.17, allocations: 70.2 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.17, allocations: 7.875 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.17, allocations: 0 / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.17, allocations: 0 / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.1703, allocations: 67.94 kB / 0.5909 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.1707, allocations: 288.8 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.171, allocations: 70.39 kB / 0.5912 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1711, allocations: 40.89 kB / 0.5913 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1711, allocations: 0 / 0.5913 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.1712, allocations: 30.56 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1712, allocations: 4 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005049/0.1717, allocations: 121.6 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.1717, allocations: 55.41 kB / 0.5915 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.1718, allocations: 109.9 kB / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1718, allocations: 25.7 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.1719, allocations: 84.14 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1719, allocations: 7.906 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.1719, allocations: 9.719 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.172, allocations: 314.8 kB / 0.592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1722, allocations: 35.97 kB / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1723, allocations: 27.97 kB / 0.5921 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.1726, allocations: 72.88 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1726, allocations: 3.938 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002974/0.1729, allocations: 93.64 kB / 0.5922 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1729, allocations: 11.98 kB / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1729, allocations: 0 / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.1729, allocations: 3.938 kB / 0.5922 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.173, allocations: 11.98 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1731, allocations: 7.938 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.882e-05/0.1732, allocations: 12.02 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.1732, allocations: 4 kB / 0.5923 GB, free: 13.98 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.045e-05/0.1733, allocations: 113.8 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1733, allocations: 0 / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.1733, allocations: 11.11 kB / 0.5924 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1733, allocations: 0 / 0.5924 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1733, allocations: 7.938 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1734, allocations: 0 / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1735, allocations: 173.5 kB / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1735, allocations: 0 / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1736, allocations: 11.98 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1736, allocations: 0 / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1737, allocations: 7.984 kB / 0.5926 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1737, allocations: 0 / 0.5926 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1737, allocations: 0 / 0.5926 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.174, allocations: 195.4 kB / 0.5928 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.1741, allocations: 89.12 kB / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1741, allocations: 0 / 0.5929 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1742, allocations: 8 kB / 0.5929 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.1742, allocations: 3.984 kB / 0.5929 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.1743, allocations: 4 kB / 0.5929 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.077e-05/0.1743, allocations: 75.28 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1743, allocations: 0 / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002297/0.1745, allocations: 19.98 kB / 0.593 GB, free: 13.18 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.0006691/0.1752, allocations: 0.7436 MB / 0.5937 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1755, allocations: 71.91 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1755, allocations: 0 / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1757, allocations: 31.97 kB / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.176, allocations: 7.984 kB / 0.5938 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1765, allocations: 190.2 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.1768, allocations: 0.6731 MB / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.371e-05/0.1769, allocations: 11.98 kB / 0.5946 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.1769, allocations: 11.42 kB / 0.5947 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1769, allocations: 4 kB / 0.5947 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01017/0.1871, allocations: 1.402 MB / 0.596 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.1873, allocations: 206.3 kB / 0.5962 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.516, allocations: 0 / 0.5962 GB, free: 9.855 MB / 0.4981 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)