Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_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.00485/0.00485, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001249/0.001249, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.412/1.412, 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.8359/0.8359, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.73 kB / 0.5808 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1388, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003089/0.142, allocations: 1.477 MB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1434, allocations: 0.8185 MB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.1435, allocations: 0 / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.1436, allocations: 3.938 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.1437, allocations: 15.84 kB / 0.6614 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006363/0.1443, allocations: 127.5 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1445, allocations: 55.78 kB / 0.6616 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1446, allocations: 15.98 kB / 0.6616 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.1447, allocations: 19.92 kB / 0.6617 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.132e-05/0.1447, allocations: 23.92 kB / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1448, allocations: 4 kB / 0.6617 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.1452, allocations: 171.7 kB / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.1452, allocations: 15.92 kB / 0.6619 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.1452, allocations: 23.88 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1455, allocations: 143.9 kB / 0.662 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1456, allocations: 0 / 0.662 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.126e-06/0.1456, allocations: 3.984 kB / 0.662 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.1456, allocations: 0 / 0.662 GB, free: 7.848 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.0006174/0.1462, allocations: 406.9 kB / 0.6624 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1462, allocations: 11.97 kB / 0.6624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.1463, allocations: 34.75 kB / 0.6625 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1463, allocations: 8.891 kB / 0.6625 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1465, allocations: 168.3 kB / 0.6626 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1465, allocations: 384 / 0.6626 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1465, allocations: 8.375 kB / 0.6626 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.1468, allocations: 78.19 kB / 0.6627 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1468, allocations: 3.938 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1468, allocations: 0 / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.1468, allocations: 4 kB / 0.6627 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.1472, allocations: 71.86 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1476, allocations: 280.8 kB / 0.663 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1478, allocations: 54.55 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.148, allocations: 40.91 kB / 0.6631 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.1482, allocations: 93.09 kB / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.1482, allocations: 34.5 kB / 0.6633 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1482, allocations: 0 / 0.6633 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005982/0.1488, allocations: 137.5 kB / 0.6634 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1489, allocations: 51.41 kB / 0.6634 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.149, allocations: 118.6 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.149, allocations: 25.7 kB / 0.6636 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1491, allocations: 92.14 kB / 0.6637 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1491, allocations: 19.83 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1492, allocations: 13.72 kB / 0.6637 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1493, allocations: 318.8 kB / 0.664 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1495, allocations: 31.95 kB / 0.664 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1496, allocations: 31.91 kB / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.1499, allocations: 81.05 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1499, allocations: 3.938 kB / 0.6641 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003491/0.1503, allocations: 93.62 kB / 0.6642 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1503, allocations: 4 kB / 0.6642 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1503, allocations: 4 kB / 0.6642 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1503, allocations: 0 / 0.6642 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1505, allocations: 19.97 kB / 0.6643 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1505, allocations: 0 / 0.6643 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.1506, allocations: 15.94 kB / 0.6643 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1506, allocations: 0 / 0.6643 GB, free: 5.281 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 9.691e-05/0.1507, allocations: 122.6 kB / 0.6644 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.1507, allocations: 4 kB / 0.6644 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.1511, allocations: 105.5 kB / 0.6645 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1511, allocations: 4 kB / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1511, allocations: 0 / 0.6645 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1512, allocations: 7.984 kB / 0.6645 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1514, allocations: 169.6 kB / 0.6647 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1514, allocations: 0 / 0.6647 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1515, allocations: 23.97 kB / 0.6647 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1515, allocations: 0 / 0.6647 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1515, allocations: 0 / 0.6647 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1515, allocations: 0 / 0.6647 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1515, allocations: 0 / 0.6647 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.1519, allocations: 203.3 kB / 0.6649 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.152, allocations: 81.06 kB / 0.665 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.152, allocations: 7.984 kB / 0.665 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.1521, allocations: 11.98 kB / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.1522, allocations: 0 / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1522, allocations: 4 kB / 0.665 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.717e-05/0.1523, allocations: 92.91 kB / 0.6651 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1523, allocations: 0 / 0.6651 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000299/0.1526, allocations: 39.88 kB / 0.6651 GB, free: 4.312 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.0008651/0.1534, allocations: 0.7668 MB / 0.6659 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.1538, allocations: 71.92 kB / 0.6659 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1538, allocations: 0 / 0.6659 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.154, allocations: 31.97 kB / 0.666 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.1543, allocations: 21.69 kB / 0.666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.1564, allocations: 1.418 MB / 0.6674 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1567, allocations: 0.6924 MB / 0.668 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.1568, allocations: 3.984 kB / 0.668 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1568, allocations: 15.44 kB / 0.6681 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1568, allocations: 0 / 0.6681 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.182, allocations: 2.438 MB / 0.6704 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.422, allocations: 18.22 kB / 0.6705 GB, free: 14.8 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.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_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)