Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_dev_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.000942/0.0009423, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008527/0.008527, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.058/1.058, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 8.625 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 82.31 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001518/0.1604, allocations: 1.203 MB / 0.5892 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1616, allocations: 0.8149 MB / 0.59 GB, free: 488 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.1617, allocations: 0 / 0.59 GB, free: 488 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.1617, allocations: 3.938 kB / 0.59 GB, free: 484 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.1618, allocations: 15.91 kB / 0.5901 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1622, allocations: 115.5 kB / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.033e-05/0.1623, allocations: 51.78 kB / 0.5902 GB, free: 300 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.1624, allocations: 12 kB / 0.5902 GB, free: 288 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.956e-05/0.1625, allocations: 15.92 kB / 0.5902 GB, free: 272 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.217e-05/0.1625, allocations: 19.92 kB / 0.5903 GB, free: 252 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1625, allocations: 4 kB / 0.5903 GB, free: 248 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.1629, allocations: 171.7 kB / 0.5904 GB, free: 76 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1629, allocations: 7.984 kB / 0.5904 GB, free: 68 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1629, allocations: 41.58 kB / 0.5905 GB, free: 20 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1632, allocations: 151.9 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1632, allocations: 0 / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1632, allocations: 3.844 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1632, allocations: 0 / 0.5906 GB, free: 15.87 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.0004894/0.1637, allocations: 399.3 kB / 0.591 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1638, allocations: 12.03 kB / 0.591 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.1638, allocations: 38.73 kB / 0.5911 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.1638, allocations: 8.844 kB / 0.5911 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.648e-05/0.1639, allocations: 164.3 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.164, allocations: 8.312 kB / 0.5912 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.164, allocations: 384 / 0.5912 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1642, allocations: 94.19 kB / 0.5913 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1642, allocations: 3.938 kB / 0.5913 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1643, allocations: 4 kB / 0.5913 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1643, allocations: 3.938 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.1646, allocations: 87.92 kB / 0.5914 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.1649, allocations: 288.6 kB / 0.5917 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1651, allocations: 66.53 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.1653, allocations: 56.84 kB / 0.5918 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.1655, allocations: 89.09 kB / 0.5919 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1655, allocations: 38.56 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1655, allocations: 4 kB / 0.5919 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005608/0.1661, allocations: 153.6 kB / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1661, allocations: 51.41 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.1662, allocations: 117.8 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.1662, allocations: 29.7 kB / 0.5923 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.1663, allocations: 92.14 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.1663, allocations: 7.812 kB / 0.5924 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1664, allocations: 9.719 kB / 0.5924 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1665, allocations: 326.8 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1666, allocations: 39.91 kB / 0.5927 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1668, allocations: 47.95 kB / 0.5928 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1671, allocations: 92.78 kB / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1671, allocations: 0 / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003283/0.1674, allocations: 117.6 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1674, allocations: 4 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1675, allocations: 0 / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1675, allocations: 8 kB / 0.593 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1676, allocations: 15.98 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1676, allocations: 7.938 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.1677, allocations: 19.89 kB / 0.593 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1677, allocations: 3.984 kB / 0.593 GB, free: 13.15 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 6.738e-05/0.1678, allocations: 117.8 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1678, allocations: 4.328 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.1682, allocations: 133.5 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1682, allocations: 0 / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1682, allocations: 4 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1682, allocations: 0 / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1684, allocations: 177.5 kB / 0.5934 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1684, allocations: 7.938 kB / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.343e-05/0.1685, allocations: 19.98 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1685, allocations: 7.938 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.1685, allocations: 0 / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1685, allocations: 3.938 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1685, allocations: 0 / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1689, allocations: 223.3 kB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.1689, allocations: 81.11 kB / 0.5938 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.169, allocations: 0 / 0.5938 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1691, allocations: 19.98 kB / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.1691, allocations: 3.984 kB / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1691, allocations: 0 / 0.5938 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.1692, allocations: 99.27 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1692, allocations: 0 / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002458/0.1694, allocations: 24 kB / 0.5939 GB, free: 12.14 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.00069/0.1701, allocations: 0.7943 MB / 0.5947 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.1705, allocations: 91.92 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1705, allocations: 0 / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.1706, allocations: 47.95 kB / 0.5948 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1709, allocations: 12 kB / 0.5948 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.1726, allocations: 1.494 MB / 0.5963 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001875/0.1728, allocations: 0.6809 MB / 0.597 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.498e-05/0.1728, allocations: 15.88 kB / 0.597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.1728, allocations: 15.44 kB / 0.597 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1729, allocations: 4 kB / 0.597 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2776/0.4505, allocations: 2.103 MB / 0.599 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.4507, allocations: 188.6 kB / 0.5992 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.299, allocations: 3.938 kB / 0.5992 GB, free: 6.645 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)