Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_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.001894/0.001894, allocations: 106.5 kB / 16.4 MB, free: 6.5 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.002052/0.002052, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7701/0.7701, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 63.98 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1654, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002486/0.168, allocations: 1.392 MB / 0.6329 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.169, allocations: 0.6006 MB / 0.6335 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.169, allocations: 4 kB / 0.6335 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.169, allocations: 0 / 0.6335 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.1691, allocations: 7.922 kB / 0.6335 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1696, allocations: 95.56 kB / 0.6336 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.733e-05/0.1696, allocations: 19.94 kB / 0.6336 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.614e-05/0.1697, allocations: 15.98 kB / 0.6337 GB, free: 2.738 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.1698, allocations: 7.938 kB / 0.6337 GB, free: 2.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.1698, allocations: 11.98 kB / 0.6337 GB, free: 2.719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1698, allocations: 4 kB / 0.6337 GB, free: 2.715 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.1701, allocations: 151.7 kB / 0.6338 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.1702, allocations: 3.938 kB / 0.6338 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.1702, allocations: 11.94 kB / 0.6338 GB, free: 2.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1704, allocations: 102.6 kB / 0.6339 GB, free: 2.453 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1704, allocations: 4 kB / 0.6339 GB, free: 2.449 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1704, allocations: 0 / 0.6339 GB, free: 2.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1704, allocations: 0 / 0.6339 GB, free: 2.449 MB / 478.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.0004487/0.1709, allocations: 360.2 kB / 0.6343 GB, free: 2.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1709, allocations: 12.03 kB / 0.6343 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.024e-05/0.171, allocations: 30.75 kB / 0.6343 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004627/0.1714, allocations: 28.89 kB / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.1716, allocations: 168.3 kB / 0.6345 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1716, allocations: 4.375 kB / 0.6345 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.1716, allocations: 4.375 kB / 0.6345 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.1718, allocations: 66.2 kB / 0.6346 GB, free: 1.688 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1719, allocations: 3.938 kB / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1719, allocations: 0 / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1719, allocations: 0 / 0.6346 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.1721, allocations: 55.94 kB / 0.6346 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1726, allocations: 272.8 kB / 0.6349 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1728, allocations: 62.41 kB / 0.635 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1729, allocations: 36.89 kB / 0.635 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.173, allocations: 0 / 0.635 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.173, allocations: 30.56 kB / 0.635 GB, free: 1.164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.173, allocations: 0 / 0.635 GB, free: 1.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004805/0.1735, allocations: 113.6 kB / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1735, allocations: 55.34 kB / 0.6352 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.1736, allocations: 105.8 kB / 0.6353 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1736, allocations: 25.7 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.1737, allocations: 88.14 kB / 0.6354 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.1737, allocations: 4.031 kB / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1737, allocations: 21.7 kB / 0.6354 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1739, allocations: 310.8 kB / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.174, allocations: 27.97 kB / 0.6357 GB, free: 384 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1741, allocations: 27.97 kB / 0.6358 GB, free: 356 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.1744, allocations: 60.86 kB / 0.6358 GB, free: 292 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1744, allocations: 3.938 kB / 0.6358 GB, free: 288 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002941/0.1747, allocations: 85.61 kB / 0.6359 GB, free: 196 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1747, allocations: 8 kB / 0.6359 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1747, allocations: 0 / 0.6359 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1747, allocations: 3.938 kB / 0.6359 GB, free: 184 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1749, allocations: 15.97 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1749, allocations: 0 / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.175, allocations: 8 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.175, allocations: 7.922 kB / 0.636 GB, free: 152 kB / 478.1 MB 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.92e-05/0.1751, allocations: 117.8 kB / 0.6361 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1751, allocations: 4 kB / 0.6361 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.1752, allocations: 3.125 kB / 0.6361 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1752, allocations: 0 / 0.6361 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1752, allocations: 0 / 0.6361 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1752, allocations: 0 / 0.6361 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1754, allocations: 185.4 kB / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1754, allocations: 0 / 0.6363 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1755, allocations: 15.98 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1755, allocations: 0 / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1755, allocations: 0 / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.716e-06/0.1755, allocations: 4 kB / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1755, allocations: 0 / 0.6363 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1759, allocations: 191.4 kB / 0.6365 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.1759, allocations: 77.11 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.1759, allocations: 0 / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1761, allocations: 11.98 kB / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.1761, allocations: 0 / 0.6365 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1761, allocations: 3.984 kB / 0.6365 GB, free: 15.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.423e-05/0.1761, allocations: 83.28 kB / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1762, allocations: 0 / 0.6366 GB, free: 15.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1764, allocations: 20.03 kB / 0.6366 GB, free: 15.35 MB / 494.1 MB 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.0006407/0.177, allocations: 0.7318 MB / 0.6374 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002912/0.1773, allocations: 55.94 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1774, allocations: 0 / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1775, allocations: 32.03 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.1777, allocations: 0 / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.1783, allocations: 170.5 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.1786, allocations: 0.6844 MB / 0.6383 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.036e-05/0.1787, allocations: 16.05 kB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.559e-05/0.1787, allocations: 11.44 kB / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1787, allocations: 0 / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.1975, allocations: 1.671 MB / 0.6399 GB, free: 11.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.667, allocations: 8.578 kB / 0.6399 GB, free: 11.98 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)