Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.001244/0.001245, allocations: 101.8 kB / 16.4 MB, free: 6.492 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.001268/0.001268, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 71 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1422, allocations: 76.17 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.003829/0.1461, allocations: 1.5 MB / 0.633 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.1464, allocations: 123.7 kB / 0.6331 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.1465, allocations: 3.938 kB / 0.6332 GB, free: 3.254 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.1466, allocations: 0 / 0.6332 GB, free: 3.254 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.1467, allocations: 7.875 kB / 0.6332 GB, free: 3.246 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.1471, allocations: 62.14 kB / 0.6332 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1472, allocations: 63.84 kB / 0.6333 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1473, allocations: 23.92 kB / 0.6333 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.1474, allocations: 19.98 kB / 0.6333 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.1474, allocations: 27.84 kB / 0.6333 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1475, allocations: 4 kB / 0.6334 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.1475, allocations: 8 kB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.1475, allocations: 7.984 kB / 0.6334 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.1476, allocations: 27.86 kB / 0.6334 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.1477, allocations: 62.59 kB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1477, allocations: 0 / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1477, allocations: 0 / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1477, allocations: 0 / 0.6335 GB, free: 2.949 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005681/0.1483, allocations: 368.2 kB / 0.6338 GB, free: 2.539 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1484, allocations: 12.03 kB / 0.6338 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.1484, allocations: 38.73 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1485, allocations: 8.844 kB / 0.6339 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.1486, allocations: 168.2 kB / 0.634 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.078e-05/0.1487, allocations: 30.27 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.1487, allocations: 8.375 kB / 0.6341 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1489, allocations: 77.97 kB / 0.6341 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1489, allocations: 0 / 0.6341 GB, free: 2.145 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1489, allocations: 11.97 kB / 0.6341 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.149, allocations: 3.938 kB / 0.6341 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1491, allocations: 43.95 kB / 0.6342 GB, free: 2.086 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.1497, allocations: 324.6 kB / 0.6345 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1499, allocations: 46.56 kB / 0.6345 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.15, allocations: 28.92 kB / 0.6346 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.15, allocations: 0 / 0.6346 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.15, allocations: 42.56 kB / 0.6346 GB, free: 1.582 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.15, allocations: 0 / 0.6346 GB, free: 1.582 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003539/0.1504, allocations: 101.5 kB / 0.6347 GB, free: 1.477 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1504, allocations: 51.41 kB / 0.6348 GB, free: 1.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.1505, allocations: 105.8 kB / 0.6349 GB, free: 1.301 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1506, allocations: 29.7 kB / 0.6349 GB, free: 1.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.1506, allocations: 92.12 kB / 0.635 GB, free: 1.172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.1506, allocations: 15.75 kB / 0.635 GB, free: 1.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1507, allocations: 13.72 kB / 0.635 GB, free: 1.137 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1508, allocations: 326.8 kB / 0.6353 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.1509, allocations: 19.98 kB / 0.6353 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.151, allocations: 33.69 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1512, allocations: 57.62 kB / 0.6354 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1512, allocations: 4 kB / 0.6354 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002088/0.1514, allocations: 85.56 kB / 0.6355 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1514, allocations: 4 kB / 0.6355 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1514, allocations: 128 / 0.6355 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1514, allocations: 3.984 kB / 0.6355 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.1515, allocations: 23.97 kB / 0.6355 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.1515, allocations: 0 / 0.6355 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.1516, allocations: 7.984 kB / 0.6355 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1516, allocations: 4 kB / 0.6355 GB, free: 0.5508 MB / 478.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 (5): * Single equations (assignments): 5 * 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.2e-05/0.1517, allocations: 118.4 kB / 0.6357 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.1517, allocations: 4 kB / 0.6357 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.1518, allocations: 11.89 kB / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1518, allocations: 0 / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.1518, allocations: 4 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1518, allocations: 0 / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.152, allocations: 181.5 kB / 0.6359 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.152, allocations: 0 / 0.6359 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.152, allocations: 8 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.152, allocations: 0 / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1521, allocations: 0 / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1521, allocations: 4 kB / 0.6359 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1521, allocations: 4.219 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.1523, allocations: 183.4 kB / 0.636 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.1524, allocations: 85.05 kB / 0.6361 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1524, allocations: 0 / 0.6361 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1525, allocations: 7.984 kB / 0.6361 GB, free: 15.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1526, allocations: 11.98 kB / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.1526, allocations: 0 / 0.6361 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.426e-05/0.1526, allocations: 95.58 kB / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.1526, allocations: 0 / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1529, allocations: 15.84 kB / 0.6362 GB, free: 15.73 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 (4): * Single equations (assignments): 4 * 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.000482/0.1533, allocations: 0.7085 MB / 0.6369 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1536, allocations: 51.95 kB / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1536, allocations: 0 / 0.637 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.089e-05/0.1537, allocations: 27.92 kB / 0.637 GB, free: 14.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.154, allocations: 13.39 kB / 0.637 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.1553, allocations: 1.337 MB / 0.6383 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.1555, allocations: 0.6885 MB / 0.639 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.1555, allocations: 4 kB / 0.639 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.1556, allocations: 11.44 kB / 0.639 GB, free: 12.75 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1556, allocations: 4 kB / 0.639 GB, free: 12.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.1727, allocations: 1.804 MB / 0.6408 GB, free: 11.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.676, allocations: 12.03 kB / 0.6408 GB, free: 11.03 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)