Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.005578/0.005578, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.001232/0.001233, allocations: 196.6 kB / 16.67 MB, free: 5.961 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8302/0.8302, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 66.45 kB / 0.5851 GB, free: 22.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1524, allocations: 80.92 MB / 0.6641 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002447/0.1549, allocations: 1.268 MB / 0.6654 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1564, allocations: 0.8345 MB / 0.6662 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.106e-05/0.1564, allocations: 4 kB / 0.6662 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1565, allocations: 3.984 kB / 0.6662 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.1565, allocations: 3.938 kB / 0.6662 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.1571, allocations: 127.4 kB / 0.6663 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.1572, allocations: 23.92 kB / 0.6664 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.1572, allocations: 8 kB / 0.6664 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.706e-05/0.1573, allocations: 11.92 kB / 0.6664 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.352e-05/0.1573, allocations: 15.97 kB / 0.6664 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1574, allocations: 4 kB / 0.6664 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.1577, allocations: 163.7 kB / 0.6666 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1577, allocations: 7.938 kB / 0.6666 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1578, allocations: 11.92 kB / 0.6666 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.158, allocations: 119.2 kB / 0.6667 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.158, allocations: 0 / 0.6667 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.158, allocations: 0 / 0.6667 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1581, allocations: 8 kB / 0.6667 GB, free: 3.816 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004713/0.1585, allocations: 355.7 kB / 0.667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1586, allocations: 17.05 kB / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1586, allocations: 30.75 kB / 0.6671 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.1587, allocations: 4.938 kB / 0.6671 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1588, allocations: 168.3 kB / 0.6672 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.1589, allocations: 34.25 kB / 0.6673 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1589, allocations: 8.297 kB / 0.6673 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1591, allocations: 50 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1591, allocations: 0 / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1591, allocations: 0 / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1591, allocations: 4 kB / 0.6673 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.1592, allocations: 15.98 kB / 0.6674 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.1594, allocations: 153.7 kB / 0.6675 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.1596, allocations: 46.61 kB / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.625e-05/0.1597, allocations: 28.88 kB / 0.6676 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/0.1599, allocations: 182.2 kB / 0.6677 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.16, allocations: 34.5 kB / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.16, allocations: 0 / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002473/0.1602, allocations: 65.67 kB / 0.6678 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.1603, allocations: 55.41 kB / 0.6679 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.1604, allocations: 93.86 kB / 0.668 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1604, allocations: 29.7 kB / 0.668 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.1604, allocations: 80.14 kB / 0.6681 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.1605, allocations: 19.73 kB / 0.6681 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1605, allocations: 17.72 kB / 0.6681 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1606, allocations: 310.8 kB / 0.6684 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.1607, allocations: 19.92 kB / 0.6684 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.1607, allocations: 8 kB / 0.6684 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.1608, allocations: 28.84 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1608, allocations: 0 / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001302/0.1609, allocations: 57.67 kB / 0.6685 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.161, allocations: 7.938 kB / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.161, allocations: 0 / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.161, allocations: 0 / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.1611, allocations: 8 kB / 0.6685 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1611, allocations: 7.938 kB / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.1611, allocations: 0.5156 kB / 0.6686 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.1611, allocations: 11.88 kB / 0.6686 GB, free: 1.625 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 (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 prepare postOptimizeDAE: time 9.768e-05/0.1612, allocations: 113.8 kB / 0.6687 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.1612, allocations: 7.844 kB / 0.6687 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.1614, allocations: 69.16 kB / 0.6687 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1615, allocations: 0 / 0.6687 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1615, allocations: 4 kB / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1615, allocations: 0 / 0.6687 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.1616, allocations: 157.7 kB / 0.6689 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1616, allocations: 4 kB / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.1617, allocations: 4 kB / 0.6689 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1617, allocations: 11.88 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1617, allocations: 0 / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1617, allocations: 3.984 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1617, allocations: 0 / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1619, allocations: 81.12 kB / 0.669 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.162, allocations: 89.03 kB / 0.6691 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.162, allocations: 4 kB / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.162, allocations: 0 / 0.6691 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1621, allocations: 7.984 kB / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1621, allocations: 0 / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.1621, allocations: 83.28 kB / 0.6692 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1622, allocations: 0 / 0.6692 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000251/0.1624, allocations: 27.94 kB / 0.6692 GB, free: 0.8594 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 (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.0006856/0.1631, allocations: 0.6721 MB / 0.6699 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1633, allocations: 23.98 kB / 0.6699 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.1633, allocations: 4 kB / 0.6699 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.1634, allocations: 15.92 kB / 0.6699 GB, free: 116 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.1637, allocations: 8 kB / 0.6699 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.1642, allocations: 172.6 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1645, allocations: 0.6768 MB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.385e-05/0.1646, allocations: 8 kB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.1646, allocations: 19.38 kB / 0.6708 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1646, allocations: 0 / 0.6708 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.1837, allocations: 1.94 MB / 0.6727 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.515, allocations: 10.03 kB / 0.6727 GB, free: 13.32 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)