Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_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.008818/0.008818, 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.001233/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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.774/0.774, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.14 kB / 0.5809 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1659, allocations: 80.22 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00256/0.1685, allocations: 1.26 MB / 0.6604 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1699, allocations: 0.8369 MB / 0.6612 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.1699, allocations: 0 / 0.6612 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.17, allocations: 4 kB / 0.6612 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.17, allocations: 7.922 kB / 0.6613 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.1706, allocations: 127.4 kB / 0.6614 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.1707, allocations: 23.92 kB / 0.6614 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1708, allocations: 4 kB / 0.6614 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.1708, allocations: 15.92 kB / 0.6614 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.514e-05/0.1709, allocations: 11.98 kB / 0.6614 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1709, allocations: 0 / 0.6614 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003523/0.1713, allocations: 171.7 kB / 0.6616 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.1713, allocations: 7.875 kB / 0.6616 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.1714, allocations: 11.98 kB / 0.6616 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.1716, allocations: 119.2 kB / 0.6617 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1716, allocations: 0 / 0.6617 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1717, allocations: 0 / 0.6617 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.1717, allocations: 4 kB / 0.6617 GB, free: 8.285 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.0005018/0.1722, allocations: 359.7 kB / 0.6621 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1722, allocations: 15.97 kB / 0.6621 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1723, allocations: 34.73 kB / 0.6621 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.1723, allocations: 8.844 kB / 0.6621 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1724, allocations: 164.3 kB / 0.6623 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.1725, allocations: 30.27 kB / 0.6623 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.1725, allocations: 4.375 kB / 0.6623 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.1727, allocations: 53.98 kB / 0.6624 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1727, allocations: 0 / 0.6624 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1727, allocations: 0 / 0.6624 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1727, allocations: 0 / 0.6624 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.527e-05/0.1728, allocations: 15.98 kB / 0.6624 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.173, allocations: 157.7 kB / 0.6625 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1732, allocations: 46.5 kB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1733, allocations: 20.86 kB / 0.6626 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/0.1736, allocations: 178.3 kB / 0.6628 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1736, allocations: 38.5 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1736, allocations: 0 / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000247/0.1739, allocations: 65.81 kB / 0.6629 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.1739, allocations: 59.34 kB / 0.6629 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.174, allocations: 101.9 kB / 0.663 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1741, allocations: 25.7 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.1741, allocations: 80.14 kB / 0.6631 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1741, allocations: 19.75 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.1742, allocations: 13.72 kB / 0.6632 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1743, allocations: 318.8 kB / 0.6635 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.1744, allocations: 8 kB / 0.6635 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.1744, allocations: 15.98 kB / 0.6635 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.834e-05/0.1745, allocations: 24.84 kB / 0.6635 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1745, allocations: 0 / 0.6635 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.1747, allocations: 53.69 kB / 0.6636 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1747, allocations: 15.88 kB / 0.6636 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1747, allocations: 0 / 0.6636 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1747, allocations: 0 / 0.6636 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.592e-05/0.1748, allocations: 11.98 kB / 0.6636 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1748, allocations: 4 kB / 0.6636 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.1748, allocations: 7.844 kB / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1748, allocations: 3.938 kB / 0.6636 GB, free: 6.09 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 7.114e-05/0.1749, allocations: 109.8 kB / 0.6637 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.1749, allocations: 3.938 kB / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.1751, allocations: 69.17 kB / 0.6638 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1751, allocations: 0 / 0.6638 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1752, allocations: 8 kB / 0.6638 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1752, allocations: 7.922 kB / 0.6638 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.1753, allocations: 157.7 kB / 0.6639 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1753, allocations: 0 / 0.6639 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.406e-05/0.1753, allocations: 4 kB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1753, allocations: 7.938 kB / 0.6639 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1754, allocations: 0 / 0.6639 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1754, allocations: 0 / 0.6639 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1754, allocations: 0 / 0.6639 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.1755, allocations: 85.11 kB / 0.664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.1756, allocations: 84.95 kB / 0.6641 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.1756, allocations: 7.984 kB / 0.6641 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.1757, allocations: 4 kB / 0.6641 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1757, allocations: 0 / 0.6641 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1757, allocations: 4 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.663e-05/0.1758, allocations: 79.69 kB / 0.6642 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1758, allocations: 3.938 kB / 0.6642 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002371/0.176, allocations: 39.94 kB / 0.6642 GB, free: 5.316 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.0005589/0.1766, allocations: 0.6555 MB / 0.6649 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1767, allocations: 27.98 kB / 0.6649 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1767, allocations: 7.938 kB / 0.6649 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.1768, allocations: 12 kB / 0.6649 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1771, allocations: 7.984 kB / 0.6649 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.1775, allocations: 176.6 kB / 0.6651 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1778, allocations: 0.6729 MB / 0.6658 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.1778, allocations: 11.98 kB / 0.6658 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.1779, allocations: 7.438 kB / 0.6658 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1779, allocations: 4 kB / 0.6658 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01966/0.1975, allocations: 1.933 MB / 0.6677 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.589, allocations: 11.36 kB / 0.6677 GB, free: 1.828 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)