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.00113/0.00113, allocations: 102.6 kB / 16.4 MB, free: 6.477 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.001102/0.001102, allocations: 193.2 kB / 17.34 MB, free: 5.754 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.02 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1409, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002799/0.1437, allocations: 1.652 MB / 0.6332 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006884/0.1444, allocations: 394.8 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.398e-05/0.1445, allocations: 0 / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.1447, allocations: 15.86 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.284e-05/0.1448, allocations: 23.78 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.1452, allocations: 122.1 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1454, allocations: 111.6 kB / 0.6338 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1455, allocations: 58.69 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.1456, allocations: 39.86 kB / 0.6339 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.1457, allocations: 43.78 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1457, allocations: 8 kB / 0.634 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1459, allocations: 59.94 kB / 0.634 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.153e-05/0.1459, allocations: 23.97 kB / 0.634 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.146, allocations: 43.73 kB / 0.6341 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1462, allocations: 136.4 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1462, allocations: 0 / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1462, allocations: 0 / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1462, allocations: 0 / 0.6342 GB, free: 2.18 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.0005753/0.1468, allocations: 423.1 kB / 0.6346 GB, free: 1.715 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1468, allocations: 8.031 kB / 0.6346 GB, free: 1.707 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1469, allocations: 42.73 kB / 0.6347 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.1471, allocations: 24.83 kB / 0.6347 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1473, allocations: 196.1 kB / 0.6349 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.1474, allocations: 42.25 kB / 0.6349 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1474, allocations: 12.38 kB / 0.6349 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.1477, allocations: 104 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1477, allocations: 0 / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.1477, allocations: 3.938 kB / 0.635 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1477, allocations: 0 / 0.635 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.148, allocations: 79.94 kB / 0.6351 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.1487, allocations: 400.4 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.1492, allocations: 130.6 kB / 0.6356 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.1493, allocations: 40.84 kB / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.1493, allocations: 0 / 0.6357 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1493, allocations: 34.56 kB / 0.6357 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1494, allocations: 0 / 0.6357 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003952/0.1498, allocations: 133.5 kB / 0.6358 GB, free: 364 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1498, allocations: 55.34 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.1499, allocations: 135.2 kB / 0.636 GB, free: 152 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1499, allocations: 33.7 kB / 0.636 GB, free: 112 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.15, allocations: 96.03 kB / 0.6361 GB, free: 12 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.15, allocations: 27.77 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1501, allocations: 25.7 kB / 0.6362 GB, free: 15.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.1502, allocations: 314.8 kB / 0.6365 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1503, allocations: 35.97 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1504, allocations: 49.83 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.1506, allocations: 70.16 kB / 0.6366 GB, free: 15.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1506, allocations: 4 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002509/0.1509, allocations: 117.5 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1509, allocations: 4 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1509, allocations: 4 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1509, allocations: 3.938 kB / 0.6367 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1511, allocations: 15.98 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1511, allocations: 0 / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.1512, allocations: 15.94 kB / 0.6368 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.1512, allocations: 0 / 0.6368 GB, free: 15.3 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 8.133e-05/0.1513, allocations: 125.8 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.1513, allocations: 11.89 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.1514, allocations: 16.72 kB / 0.6369 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1514, allocations: 3.938 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1514, allocations: 0 / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1514, allocations: 0 / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1516, allocations: 201.6 kB / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1516, allocations: 0 / 0.6371 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1517, allocations: 19.92 kB / 0.6371 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1517, allocations: 4 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1517, allocations: 0 / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1517, allocations: 3.938 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1517, allocations: 8 kB / 0.6372 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.152, allocations: 203.3 kB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1521, allocations: 85 kB / 0.6374 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1521, allocations: 8 kB / 0.6374 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.1523, allocations: 15.92 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.1523, allocations: 4 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1523, allocations: 3.984 kB / 0.6375 GB, free: 14.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.1524, allocations: 109 kB / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1524, allocations: 0 / 0.6376 GB, free: 14.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1526, allocations: 20 kB / 0.6376 GB, free: 14.38 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.0005172/0.1532, allocations: 0.7396 MB / 0.6383 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.1534, allocations: 71.94 kB / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1534, allocations: 0 / 0.6384 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1535, allocations: 47.97 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1539, allocations: 27.92 kB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1555, allocations: 1.537 MB / 0.6399 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1558, allocations: 0.7001 MB / 0.6406 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.385e-05/0.1559, allocations: 8.672 kB / 0.6406 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.555e-05/0.1559, allocations: 27.42 kB / 0.6407 GB, free: 11.09 MB / 494.1 MB Notification: Performance of SimCode: time 1.753e-06/0.1559, allocations: 0 / 0.6407 GB, free: 11.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.1751, allocations: 2.773 MB / 0.6434 GB, free: 8.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.856, allocations: 11.88 kB / 0.6434 GB, free: 8.43 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)