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.001398/0.001398, allocations: 106.6 kB / 16.4 MB, free: 6.508 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.001464/0.001464, 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.536/1.536, 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 1.259/1.259, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 60.94 kB / 0.5572 GB, free: 32.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1779, allocations: 76.19 MB / 0.6316 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002599/0.1805, allocations: 1.39 MB / 0.6329 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.1815, allocations: 0.6005 MB / 0.6335 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.1815, allocations: 4 kB / 0.6335 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.1816, allocations: 3.938 kB / 0.6335 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.1816, allocations: 3.984 kB / 0.6335 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.182, allocations: 91.58 kB / 0.6336 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.957e-05/0.1821, allocations: 35.84 kB / 0.6336 GB, free: 2.887 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.1822, allocations: 8 kB / 0.6337 GB, free: 2.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.1823, allocations: 15.92 kB / 0.6337 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.1823, allocations: 11.98 kB / 0.6337 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1823, allocations: 4 kB / 0.6337 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.1826, allocations: 139.8 kB / 0.6338 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.1827, allocations: 11.92 kB / 0.6338 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.1827, allocations: 8 kB / 0.6338 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1829, allocations: 90.64 kB / 0.6339 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1829, allocations: 4 kB / 0.6339 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.183, allocations: 7.938 kB / 0.6339 GB, free: 2.594 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.183, allocations: 0 / 0.6339 GB, free: 2.594 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.0004702/0.1834, allocations: 364.2 kB / 0.6343 GB, free: 2.188 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1835, allocations: 8.031 kB / 0.6343 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.1835, allocations: 34.75 kB / 0.6343 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004341/0.184, allocations: 24.91 kB / 0.6343 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1841, allocations: 172.3 kB / 0.6345 GB, free: 1.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1841, allocations: 4.375 kB / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1841, allocations: 384 / 0.6345 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.1844, allocations: 62.2 kB / 0.6346 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1844, allocations: 3.938 kB / 0.6346 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1844, allocations: 4 kB / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1844, allocations: 0 / 0.6346 GB, free: 1.828 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.1847, allocations: 63.88 kB / 0.6346 GB, free: 1.766 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.1852, allocations: 268.8 kB / 0.6349 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.1854, allocations: 62.47 kB / 0.635 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1856, allocations: 32.89 kB / 0.635 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1856, allocations: 3.984 kB / 0.635 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1856, allocations: 34.56 kB / 0.635 GB, free: 1.301 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.1856, allocations: 4 kB / 0.635 GB, free: 1.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005326/0.1862, allocations: 113.5 kB / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1862, allocations: 51.41 kB / 0.6352 GB, free: 1.117 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.481e-05/0.1863, allocations: 105.8 kB / 0.6353 GB, free: 1.004 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1863, allocations: 25.7 kB / 0.6353 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.1863, allocations: 88.27 kB / 0.6354 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1864, allocations: 3.906 kB / 0.6354 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.1864, allocations: 21.7 kB / 0.6354 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.1865, allocations: 314.8 kB / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1867, allocations: 23.97 kB / 0.6357 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.1868, allocations: 31.97 kB / 0.6358 GB, free: 492 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1871, allocations: 56.75 kB / 0.6358 GB, free: 432 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1871, allocations: 3.938 kB / 0.6358 GB, free: 428 kB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000314/0.1874, allocations: 93.69 kB / 0.6359 GB, free: 328 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1875, allocations: 4 kB / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1875, allocations: 3.938 kB / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1875, allocations: 0 / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1876, allocations: 11.98 kB / 0.6359 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1876, allocations: 4 kB / 0.6359 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.1877, allocations: 7.984 kB / 0.636 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1878, allocations: 4.031 kB / 0.636 GB, free: 292 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 7.973e-05/0.1878, allocations: 117.8 kB / 0.6361 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1879, allocations: 0 / 0.6361 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.1879, allocations: 7.125 kB / 0.6361 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1879, allocations: 0 / 0.6361 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1879, allocations: 0 / 0.6361 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1879, allocations: 4 kB / 0.6361 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1881, allocations: 169.5 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1881, allocations: 4 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.1883, allocations: 19.91 kB / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1883, allocations: 0 / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1883, allocations: 0 / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1883, allocations: 4 kB / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1883, allocations: 0 / 0.6363 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.1887, allocations: 187.4 kB / 0.6364 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.1887, allocations: 77.11 kB / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1887, allocations: 0 / 0.6365 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1889, allocations: 11.98 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1889, allocations: 4 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.1889, allocations: 4 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.189, allocations: 87.3 kB / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.189, allocations: 0 / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1892, allocations: 16 kB / 0.6366 GB, free: 15.49 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.0006945/0.1899, allocations: 0.7279 MB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.1903, allocations: 59.94 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1904, allocations: 0 / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1906, allocations: 39.98 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1909, allocations: 7.875 kB / 0.6375 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005757/0.1915, allocations: 164.2 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.1917, allocations: 0.6729 MB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.1918, allocations: 16.05 kB / 0.6383 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.1919, allocations: 7.438 kB / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1919, allocations: 0 / 0.6383 GB, free: 13.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6227/0.8146, allocations: 1.677 MB / 0.6399 GB, free: 12.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.85, allocations: 3.938 kB / 0.6399 GB, free: 12.12 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)