Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.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.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX",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.001562/0.001561, allocations: 105.8 kB / 16.4 MB, free: 6.453 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.001398/0.001398, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7485/0.7485, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 66.22 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1559, allocations: 76.18 MB / 0.6316 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002594/0.1585, allocations: 1.48 MB / 0.633 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1598, allocations: 0.8108 MB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.1598, allocations: 0 / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.1599, allocations: 3.938 kB / 0.6338 GB, free: 2.637 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.328e-05/0.1599, allocations: 15.86 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1604, allocations: 123.5 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.166e-05/0.1605, allocations: 55.72 kB / 0.634 GB, free: 2.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1606, allocations: 19.97 kB / 0.634 GB, free: 2.426 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.1606, allocations: 23.92 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.1607, allocations: 23.92 kB / 0.6341 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.1607, allocations: 4 kB / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003302/0.161, allocations: 167.8 kB / 0.6342 GB, free: 2.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.1611, allocations: 19.92 kB / 0.6342 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.1611, allocations: 11.94 kB / 0.6343 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1614, allocations: 155.2 kB / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1614, allocations: 0 / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1614, allocations: 0 / 0.6344 GB, free: 2.031 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1614, allocations: 0 / 0.6344 GB, free: 2.031 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005955/0.162, allocations: 411.1 kB / 0.6348 GB, free: 1.578 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.162, allocations: 11.97 kB / 0.6348 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.1621, allocations: 30.75 kB / 0.6348 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1621, allocations: 4.938 kB / 0.6348 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.1623, allocations: 172.3 kB / 0.635 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1623, allocations: 384 / 0.635 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1623, allocations: 8.359 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.1626, allocations: 78.14 kB / 0.6351 GB, free: 1.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1626, allocations: 7.938 kB / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1626, allocations: 0 / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1626, allocations: 0 / 0.6351 GB, free: 1.219 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.1629, allocations: 71.92 kB / 0.6352 GB, free: 1.148 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.1633, allocations: 284.7 kB / 0.6354 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1635, allocations: 62.48 kB / 0.6355 GB, free: 0.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.1636, allocations: 40.91 kB / 0.6355 GB, free: 0.707 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.1638, allocations: 89.09 kB / 0.6356 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1638, allocations: 34.56 kB / 0.6357 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1639, allocations: 0 / 0.6357 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.00051/0.1644, allocations: 129.5 kB / 0.6358 GB, free: 436 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.1644, allocations: 55.41 kB / 0.6358 GB, free: 368 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.1645, allocations: 113.8 kB / 0.6359 GB, free: 244 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1645, allocations: 29.7 kB / 0.636 GB, free: 208 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.1646, allocations: 96.05 kB / 0.6361 GB, free: 108 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1646, allocations: 7.891 kB / 0.6361 GB, free: 100 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.1647, allocations: 13.72 kB / 0.6361 GB, free: 80 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1648, allocations: 318.8 kB / 0.6364 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1649, allocations: 35.95 kB / 0.6364 GB, free: 15.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1651, allocations: 31.97 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.1653, allocations: 68.78 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1653, allocations: 0 / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002857/0.1656, allocations: 105.5 kB / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1656, allocations: 4 kB / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1656, allocations: 0 / 0.6366 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1657, allocations: 4 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1658, allocations: 23.91 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1658, allocations: 0 / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.1659, allocations: 11.98 kB / 0.6367 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.1659, allocations: 0 / 0.6367 GB, free: 15.47 MB / 494.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 (3): * Single equations (assignments): 3 * 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.953e-05/0.166, allocations: 125.7 kB / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.166, allocations: 0 / 0.6368 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.1664, allocations: 109.5 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1664, allocations: 4.375 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1664, allocations: 3.938 kB / 0.6369 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1664, allocations: 3.984 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1666, allocations: 173.6 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1666, allocations: 0 / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.1667, allocations: 19.97 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1667, allocations: 3.984 kB / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1667, allocations: 0 / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1667, allocations: 0 / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1667, allocations: 0 / 0.6371 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.167, allocations: 203.3 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.1671, allocations: 81.02 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1671, allocations: 3.984 kB / 0.6374 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1672, allocations: 11.98 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.1673, allocations: 4 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.1673, allocations: 4 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.1673, allocations: 99.64 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1673, allocations: 3.938 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.1676, allocations: 28 kB / 0.6375 GB, free: 14.5 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 (3): * Single equations (assignments): 3 * 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.0007488/0.1684, allocations: 0.7631 MB / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.1687, allocations: 67.92 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1687, allocations: 3.938 kB / 0.6383 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1688, allocations: 47.91 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1691, allocations: 7.984 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.1708, allocations: 1.419 MB / 0.6398 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.1711, allocations: 0.6807 MB / 0.6404 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.1711, allocations: 7.984 kB / 0.6404 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.1712, allocations: 15.62 kB / 0.6404 GB, free: 11.36 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1712, allocations: 4 kB / 0.6404 GB, free: 11.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.1896, allocations: 2.482 MB / 0.6429 GB, free: 8.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.793, allocations: 1.641 kB / 0.6429 GB, free: 8.961 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)