Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.0015/0.0015, allocations: 103.5 kB / 16.4 MB, free: 6.48 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.001202/0.001202, allocations: 189.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.452/1.452, 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.7711/0.7711, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 72.62 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1605, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.00341/0.1639, allocations: 1.638 MB / 0.6332 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.165, allocations: 406.8 kB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.1651, allocations: 0 / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.1653, allocations: 15.81 kB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.1654, allocations: 19.78 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.166, allocations: 131.6 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.1663, allocations: 107.6 kB / 0.6338 GB, free: 2.598 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.1665, allocations: 46.72 kB / 0.6339 GB, free: 2.555 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.1666, allocations: 47.83 kB / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.1667, allocations: 39.84 kB / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1668, allocations: 11.94 kB / 0.634 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.167, allocations: 63.95 kB / 0.634 GB, free: 2.395 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.167, allocations: 15.98 kB / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.1671, allocations: 51.7 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1674, allocations: 132.5 kB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1674, allocations: 0 / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1674, allocations: 0 / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1674, allocations: 0 / 0.6342 GB, free: 2.199 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007379/0.1682, allocations: 415.1 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.1682, allocations: 15.97 kB / 0.6346 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.1683, allocations: 38.75 kB / 0.6347 GB, free: 1.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.1686, allocations: 32.81 kB / 0.6347 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.1689, allocations: 194.6 kB / 0.6349 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.239e-05/0.169, allocations: 30.27 kB / 0.6349 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.169, allocations: 12.38 kB / 0.6349 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.1693, allocations: 111.2 kB / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1693, allocations: 3.938 kB / 0.635 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1693, allocations: 0 / 0.635 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1693, allocations: 4 kB / 0.635 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.1696, allocations: 75.94 kB / 0.6351 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.1704, allocations: 388.5 kB / 0.6355 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.1709, allocations: 126.6 kB / 0.6356 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.171, allocations: 44.81 kB / 0.6356 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1711, allocations: 3.984 kB / 0.6356 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1711, allocations: 38.56 kB / 0.6357 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1711, allocations: 0 / 0.6357 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004585/0.1716, allocations: 133.6 kB / 0.6358 GB, free: 392 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.1716, allocations: 59.33 kB / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1718, allocations: 139.9 kB / 0.636 GB, free: 172 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1718, allocations: 33.7 kB / 0.636 GB, free: 132 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.1719, allocations: 96.05 kB / 0.6361 GB, free: 32 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1719, allocations: 23.64 kB / 0.6361 GB, free: 8 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.172, allocations: 21.72 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1721, allocations: 318.8 kB / 0.6365 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.1723, allocations: 27.98 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1724, allocations: 49.69 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.1726, allocations: 85.55 kB / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1726, allocations: 0 / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002878/0.1729, allocations: 110 kB / 0.6367 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1729, allocations: 4 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.173, allocations: 8.031 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.173, allocations: 3.938 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1731, allocations: 19.98 kB / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1731, allocations: 8.062 kB / 0.6368 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.59e-05/0.1732, allocations: 11.92 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.1732, allocations: 0 / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 9.57e-05/0.1733, allocations: 113.8 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.1734, allocations: 7.906 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.1734, allocations: 20.72 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1734, allocations: 7.922 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1735, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1735, allocations: 0 / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.1737, allocations: 193.6 kB / 0.6371 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1737, allocations: 0 / 0.6371 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.1738, allocations: 23.92 kB / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1738, allocations: 0 / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1738, allocations: 0 / 0.6371 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1739, allocations: 11.88 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1739, allocations: 0 / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.1742, allocations: 207.4 kB / 0.6373 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.1742, allocations: 85.02 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1743, allocations: 4 kB / 0.6374 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1744, allocations: 11.92 kB / 0.6374 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1745, allocations: 7.984 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1745, allocations: 8 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.485e-05/0.1746, allocations: 109 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1746, allocations: 0 / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1748, allocations: 20 kB / 0.6376 GB, free: 14.41 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 (7): * Single equations (assignments): 7 * 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.0005958/0.1754, allocations: 0.7396 MB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.1757, allocations: 67.89 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1757, allocations: 4 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1758, allocations: 35.97 kB / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1762, allocations: 39.86 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.1781, allocations: 1.544 MB / 0.64 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1784, allocations: 0.6963 MB / 0.6406 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.1785, allocations: 8.656 kB / 0.6406 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.1786, allocations: 27.44 kB / 0.6407 GB, free: 11.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1786, allocations: 4 kB / 0.6407 GB, free: 11.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.018/2.196, allocations: 2.768 MB / 0.6434 GB, free: 8.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/15.39, allocations: 9.219 kB / 0.6434 GB, free: 8.457 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)