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.005542/0.005543, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.00123/0.00123, allocations: 192.6 kB / 16.67 MB, free: 5.973 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.375/1.375, 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/package.mo): time 0.8304/0.8304, allocations: 132.2 MB / 422.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 62.72 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1702, allocations: 80.22 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002536/0.1728, allocations: 1.256 MB / 0.6604 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1742, allocations: 0.837 MB / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.1742, allocations: 0 / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1743, allocations: 3.938 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.267e-05/0.1743, allocations: 15.84 kB / 0.6613 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.175, allocations: 127.5 kB / 0.6614 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.712e-05/0.1751, allocations: 31.86 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.1751, allocations: 0 / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.1752, allocations: 15.92 kB / 0.6614 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.1752, allocations: 11.98 kB / 0.6614 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.1753, allocations: 0 / 0.6614 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.1756, allocations: 155.8 kB / 0.6616 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.1757, allocations: 7.984 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.1757, allocations: 19.92 kB / 0.6616 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.176, allocations: 123.8 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.176, allocations: 0 / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.176, allocations: 0 / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.176, allocations: 0 / 0.6617 GB, free: 8.133 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.0005466/0.1766, allocations: 367.1 kB / 0.6621 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1766, allocations: 8.031 kB / 0.6621 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.1767, allocations: 30.75 kB / 0.6621 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.1768, allocations: 8.875 kB / 0.6621 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1769, allocations: 160.4 kB / 0.6623 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.338e-05/0.177, allocations: 42.25 kB / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.177, allocations: 384 / 0.6623 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.1772, allocations: 53.98 kB / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1772, allocations: 0 / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1772, allocations: 0 / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1772, allocations: 3.938 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.1773, allocations: 15.98 kB / 0.6624 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.1775, allocations: 165.7 kB / 0.6625 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1777, allocations: 46.56 kB / 0.6626 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.1778, allocations: 12.95 kB / 0.6626 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.1781, allocations: 178.2 kB / 0.6628 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1782, allocations: 42.48 kB / 0.6628 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1782, allocations: 4 kB / 0.6628 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002703/0.1784, allocations: 65.62 kB / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.1785, allocations: 59.39 kB / 0.6629 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.1786, allocations: 89.86 kB / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1786, allocations: 29.7 kB / 0.663 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.1786, allocations: 80.14 kB / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.1787, allocations: 15.84 kB / 0.6631 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1787, allocations: 21.7 kB / 0.6632 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1789, allocations: 314.8 kB / 0.6635 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.1789, allocations: 8 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.179, allocations: 11.98 kB / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1791, allocations: 32.72 kB / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1791, allocations: 4 kB / 0.6635 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001524/0.1793, allocations: 53.69 kB / 0.6636 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1793, allocations: 9.812 kB / 0.6636 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1793, allocations: 4.516 kB / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1793, allocations: 4 kB / 0.6636 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.047e-05/0.1794, allocations: 7.984 kB / 0.6636 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1794, allocations: 0 / 0.6636 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.1795, allocations: 4 kB / 0.6636 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1795, allocations: 0 / 0.6636 GB, free: 5.941 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 8.654e-05/0.1796, allocations: 105.8 kB / 0.6637 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.1796, allocations: 19.83 kB / 0.6637 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1798, allocations: 81.06 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.1798, allocations: 4 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1798, allocations: 0 / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1799, allocations: 0 / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.18, allocations: 153.7 kB / 0.6639 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.18, allocations: 0 / 0.6639 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.1801, allocations: 12 kB / 0.664 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1801, allocations: 3.938 kB / 0.664 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1801, allocations: 0 / 0.664 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1801, allocations: 0 / 0.664 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1801, allocations: 4 kB / 0.664 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.1803, allocations: 85.05 kB / 0.664 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.1804, allocations: 89.03 kB / 0.6641 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1804, allocations: 0 / 0.6641 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.1805, allocations: 4 kB / 0.6641 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1805, allocations: 4 kB / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1805, allocations: 0 / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.1806, allocations: 87.27 kB / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1806, allocations: 0 / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002729/0.1809, allocations: 39.81 kB / 0.6643 GB, free: 5.152 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.0006463/0.1815, allocations: 0.6629 MB / 0.6649 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001695/0.1817, allocations: 23.98 kB / 0.6649 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1817, allocations: 0 / 0.6649 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.116e-05/0.1818, allocations: 19.98 kB / 0.6649 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1821, allocations: 9.859 kB / 0.665 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.1826, allocations: 172.4 kB / 0.6651 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1829, allocations: 0.6845 MB / 0.6658 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.183, allocations: 4 kB / 0.6658 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.183, allocations: 11.44 kB / 0.6658 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.183, allocations: 0 / 0.6658 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.2019, allocations: 1.928 MB / 0.6677 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/7.821, allocations: 15.55 kB / 0.6677 GB, free: 1.66 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)