Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_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.006949/0.00695, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001227/0.001227, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8204/0.8204, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.7 kB / 0.5808 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002919/0.1565, allocations: 1.491 MB / 0.6606 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1579, allocations: 0.8069 MB / 0.6614 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.158, allocations: 4 kB / 0.6614 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.244e-05/0.1581, allocations: 7.922 kB / 0.6614 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.1582, allocations: 7.875 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006341/0.1588, allocations: 131.5 kB / 0.6616 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1589, allocations: 51.73 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1591, allocations: 19.97 kB / 0.6616 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.1592, allocations: 23.92 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.1592, allocations: 19.92 kB / 0.6617 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1592, allocations: 4 kB / 0.6617 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.1597, allocations: 175.8 kB / 0.6618 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.1597, allocations: 11.92 kB / 0.6618 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.1598, allocations: 27.86 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.1602, allocations: 147.3 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1602, allocations: 0 / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.1602, allocations: 0 / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1602, allocations: 0 / 0.662 GB, free: 7.859 MB / 0.4981 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.0006335/0.1609, allocations: 391.2 kB / 0.6624 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1609, allocations: 16.03 kB / 0.6624 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.879e-05/0.1609, allocations: 34.75 kB / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.161, allocations: 12.78 kB / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1611, allocations: 172.3 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1611, allocations: 384 / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.1612, allocations: 4.375 kB / 0.6626 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1614, allocations: 70.16 kB / 0.6627 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1614, allocations: 7.938 kB / 0.6627 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1614, allocations: 4 kB / 0.6627 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1615, allocations: 0 / 0.6627 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.1617, allocations: 67.92 kB / 0.6628 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1621, allocations: 288.7 kB / 0.663 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1624, allocations: 66.47 kB / 0.6631 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1625, allocations: 32.92 kB / 0.6631 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.1627, allocations: 89.09 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1627, allocations: 34.56 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.1627, allocations: 4 kB / 0.6633 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005235/0.1633, allocations: 133.5 kB / 0.6634 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1633, allocations: 51.41 kB / 0.6634 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1634, allocations: 114.8 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1635, allocations: 29.7 kB / 0.6636 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.1635, allocations: 92.12 kB / 0.6637 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1635, allocations: 11.81 kB / 0.6637 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1636, allocations: 13.72 kB / 0.6637 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1637, allocations: 322.8 kB / 0.664 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1639, allocations: 27.97 kB / 0.664 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.164, allocations: 40.09 kB / 0.6641 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.1642, allocations: 68.86 kB / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1643, allocations: 0 / 0.6641 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003127/0.1646, allocations: 105.5 kB / 0.6642 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1646, allocations: 8 kB / 0.6642 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1646, allocations: 0 / 0.6642 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1646, allocations: 0 / 0.6642 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.1648, allocations: 15.98 kB / 0.6642 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1648, allocations: 0 / 0.6642 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.1648, allocations: 19.89 kB / 0.6643 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1649, allocations: 4 kB / 0.6643 GB, free: 5.301 MB / 0.4981 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.415e-05/0.1649, allocations: 118.7 kB / 0.6644 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.165, allocations: 3.984 kB / 0.6644 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.1653, allocations: 113.4 kB / 0.6645 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1653, allocations: 3.938 kB / 0.6645 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.1653, allocations: 3.938 kB / 0.6645 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1654, allocations: 0 / 0.6645 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1655, allocations: 177.6 kB / 0.6647 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1655, allocations: 4 kB / 0.6647 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.708e-05/0.1656, allocations: 11.98 kB / 0.6647 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1656, allocations: 4 kB / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1657, allocations: 0 / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1657, allocations: 0 / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1657, allocations: 0 / 0.6647 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.166, allocations: 203.3 kB / 0.6649 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.1661, allocations: 81.11 kB / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1661, allocations: 0 / 0.665 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.1662, allocations: 11.98 kB / 0.665 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.1662, allocations: 7.984 kB / 0.665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.1662, allocations: 0 / 0.665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.382e-05/0.1663, allocations: 92.92 kB / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1663, allocations: 7.938 kB / 0.6651 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002716/0.1666, allocations: 31.98 kB / 0.6651 GB, free: 4.332 MB / 0.4981 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.0007341/0.1673, allocations: 0.7669 MB / 0.6658 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003071/0.1676, allocations: 67.92 kB / 0.6659 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1677, allocations: 0 / 0.6659 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.1678, allocations: 39.91 kB / 0.666 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1681, allocations: 14.08 kB / 0.666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1699, allocations: 1.429 MB / 0.6674 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1702, allocations: 0.6884 MB / 0.668 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1702, allocations: 0 / 0.668 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.1703, allocations: 19.44 kB / 0.6681 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1703, allocations: 0 / 0.6681 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.1912, allocations: 2.435 MB / 0.6704 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.537, allocations: 15.42 kB / 0.6704 GB, free: 14.83 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)