Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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.006748/0.006748, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001441/0.001441, allocations: 197.3 kB / 16.67 MB, free: 5.98 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00229/0.00229, allocations: 282.5 kB / 290.8 MB, free: 1.785 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9395/0.9395, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 92.7 kB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1619, allocations: 86.97 MB / 0.7659 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002443/0.1644, allocations: 1.497 MB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1655, allocations: 0.8115 MB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.1656, allocations: 0 / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.1657, allocations: 3.938 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.1657, allocations: 19.8 kB / 0.7682 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.1662, allocations: 127.4 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.376e-05/0.1663, allocations: 51.84 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.1664, allocations: 12 kB / 0.7683 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.1664, allocations: 23.92 kB / 0.7684 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.1665, allocations: 23.91 kB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1665, allocations: 4 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.1668, allocations: 175.7 kB / 0.7686 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.1669, allocations: 11.94 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.1669, allocations: 19.86 kB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.1672, allocations: 143.7 kB / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1672, allocations: 0 / 0.7687 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.445e-06/0.1672, allocations: 4 kB / 0.7687 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1672, allocations: 3.938 kB / 0.7687 GB, free: 6.02 MB / 0.5606 GB 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.0005125/0.1677, allocations: 399.2 kB / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.1678, allocations: 8.031 kB / 0.7691 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1678, allocations: 42.73 kB / 0.7692 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1678, allocations: 4.844 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1679, allocations: 172.3 kB / 0.7693 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.168, allocations: 4.312 kB / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.168, allocations: 8.375 kB / 0.7693 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1682, allocations: 78.19 kB / 0.7694 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1682, allocations: 3.938 kB / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.1683, allocations: 0 / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1683, allocations: 0 / 0.7694 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.1685, allocations: 75.92 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.1689, allocations: 276.7 kB / 0.7698 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.1691, allocations: 62.53 kB / 0.7698 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1692, allocations: 40.91 kB / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.1694, allocations: 93.09 kB / 0.7699 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.1694, allocations: 30.56 kB / 0.77 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1694, allocations: 0 / 0.77 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004889/0.1699, allocations: 137.4 kB / 0.7701 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.17, allocations: 55.41 kB / 0.7702 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.1701, allocations: 113.8 kB / 0.7703 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1701, allocations: 25.7 kB / 0.7703 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.1701, allocations: 92.14 kB / 0.7704 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.1702, allocations: 3.906 kB / 0.7704 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1702, allocations: 21.66 kB / 0.7704 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/0.1703, allocations: 318.8 kB / 0.7707 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1705, allocations: 35.97 kB / 0.7707 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1706, allocations: 31.95 kB / 0.7708 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.1708, allocations: 73.05 kB / 0.7708 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1708, allocations: 4 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002853/0.1711, allocations: 101.5 kB / 0.7709 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1711, allocations: 4 kB / 0.7709 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.1712, allocations: 0 / 0.7709 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1712, allocations: 4 kB / 0.7709 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.1713, allocations: 11.98 kB / 0.771 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1713, allocations: 4 kB / 0.771 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.1714, allocations: 19.91 kB / 0.771 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1714, allocations: 4 kB / 0.771 GB, free: 3.453 MB / 0.5606 GB 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 7.146e-05/0.1715, allocations: 118.4 kB / 0.7711 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1715, allocations: 7.906 kB / 0.7711 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.1718, allocations: 113.5 kB / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1719, allocations: 0 / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1719, allocations: 0 / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1719, allocations: 0 / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.172, allocations: 173.6 kB / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1721, allocations: 0 / 0.7714 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.1721, allocations: 15.98 kB / 0.7714 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1722, allocations: 3.938 kB / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1722, allocations: 0 / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1722, allocations: 0 / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1722, allocations: 4 kB / 0.7714 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1725, allocations: 199.4 kB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1726, allocations: 84.95 kB / 0.7717 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1726, allocations: 0 / 0.7717 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1727, allocations: 15.98 kB / 0.7717 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1728, allocations: 11.98 kB / 0.7717 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1728, allocations: 0 / 0.7717 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.1728, allocations: 95.64 kB / 0.7718 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1728, allocations: 0 / 0.7718 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002627/0.1731, allocations: 28 kB / 0.7718 GB, free: 2.496 MB / 0.5606 GB 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.0006589/0.1738, allocations: 0.7592 MB / 0.7726 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.1741, allocations: 79.86 kB / 0.7726 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1741, allocations: 0 / 0.7726 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1742, allocations: 39.95 kB / 0.7727 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1745, allocations: 4 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.1761, allocations: 1.426 MB / 0.7741 GB, free: 88 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2811/0.4573, allocations: 0.681 MB / 0.7747 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.384e-05/0.4574, allocations: 5.594 kB / 0.7747 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.4574, allocations: 21.61 kB / 0.7748 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.4574, allocations: 0 / 0.7748 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.4762, allocations: 2.498 MB / 0.7772 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.018/7.494, allocations: 5.062 kB / 0.7772 GB, free: 13.88 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)