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.006895/0.006895, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001317/0.001318, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.437/1.437, 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.8587/0.8587, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 70.72 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1611, allocations: 80.21 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.003348/0.1645, allocations: 1.259 MB / 0.6604 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1663, allocations: 0.8407 MB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.1663, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.1664, allocations: 0 / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.1665, allocations: 3.938 kB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.1672, allocations: 135.4 kB / 0.6614 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.1673, allocations: 27.91 kB / 0.6614 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.1673, allocations: 0 / 0.6614 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.1674, allocations: 15.94 kB / 0.6614 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1675, allocations: 7.984 kB / 0.6614 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1675, allocations: 4 kB / 0.6614 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.168, allocations: 171.7 kB / 0.6616 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.168, allocations: 0 / 0.6616 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.168, allocations: 15.92 kB / 0.6616 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.1683, allocations: 123.9 kB / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1684, allocations: 0 / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1684, allocations: 0 / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1684, allocations: 0 / 0.6617 GB, free: 8.203 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.0005778/0.169, allocations: 359.2 kB / 0.6621 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.169, allocations: 12.03 kB / 0.6621 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.1691, allocations: 46.67 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.1691, allocations: 0.9375 kB / 0.6621 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1693, allocations: 160.4 kB / 0.6623 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.436e-05/0.1694, allocations: 30.27 kB / 0.6623 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1694, allocations: 4.375 kB / 0.6623 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1696, allocations: 49.94 kB / 0.6624 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1696, allocations: 3.984 kB / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1696, allocations: 3.984 kB / 0.6624 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1696, allocations: 4 kB / 0.6624 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1697, allocations: 19.98 kB / 0.6624 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.17, allocations: 157.7 kB / 0.6625 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.1703, allocations: 46.56 kB / 0.6626 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.43e-05/0.1704, allocations: 12.86 kB / 0.6626 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/0.1707, allocations: 182.3 kB / 0.6628 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1707, allocations: 42.44 kB / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1707, allocations: 0 / 0.6628 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000284/0.171, allocations: 61.67 kB / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1711, allocations: 55.41 kB / 0.6629 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.1712, allocations: 105.8 kB / 0.663 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1712, allocations: 29.7 kB / 0.6631 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1713, allocations: 80.14 kB / 0.6631 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.1713, allocations: 11.84 kB / 0.6631 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1713, allocations: 17.72 kB / 0.6632 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1715, allocations: 314.8 kB / 0.6635 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.1716, allocations: 12 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.1716, allocations: 11.92 kB / 0.6635 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1717, allocations: 36.84 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1717, allocations: 0 / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001441/0.1719, allocations: 49.69 kB / 0.6636 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1719, allocations: 7.938 kB / 0.6636 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.1719, allocations: 3.984 kB / 0.6636 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.172, allocations: 4 kB / 0.6636 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.172, allocations: 7.984 kB / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.172, allocations: 0 / 0.6636 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.1721, allocations: 8 kB / 0.6636 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.1721, allocations: 4 kB / 0.6636 GB, free: 6.008 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.748e-05/0.1722, allocations: 117.7 kB / 0.6637 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.1722, allocations: 7.891 kB / 0.6637 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.1724, allocations: 65.17 kB / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1724, allocations: 0.5625 kB / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1724, allocations: 0 / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1725, allocations: 0 / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.1726, allocations: 161.6 kB / 0.6639 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1726, allocations: 4 kB / 0.6639 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.1727, allocations: 12 kB / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.1727, allocations: 7.938 kB / 0.664 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1727, allocations: 3.984 kB / 0.664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1727, allocations: 0 / 0.664 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1727, allocations: 7.938 kB / 0.664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.1729, allocations: 77.11 kB / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-05/0.173, allocations: 85.05 kB / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.173, allocations: 7.984 kB / 0.6641 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.967e-05/0.1731, allocations: 4 kB / 0.6641 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1731, allocations: 0 / 0.6641 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.1731, allocations: 4 kB / 0.6641 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.293e-05/0.1732, allocations: 83.27 kB / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1732, allocations: 0 / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002488/0.1735, allocations: 35.81 kB / 0.6643 GB, free: 5.227 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.0006695/0.1741, allocations: 0.6668 MB / 0.6649 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.1743, allocations: 23.98 kB / 0.6649 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1743, allocations: 0 / 0.6649 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.1744, allocations: 19.94 kB / 0.6649 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1747, allocations: 11.98 kB / 0.665 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.1751, allocations: 176.5 kB / 0.6651 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1754, allocations: 0.6729 MB / 0.6658 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.446e-05/0.1755, allocations: 8 kB / 0.6658 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.1755, allocations: 15.42 kB / 0.6658 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1755, allocations: 0 / 0.6658 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.1998, allocations: 1.932 MB / 0.6677 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.212, allocations: 25.27 kB / 0.6677 GB, free: 1.723 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)