Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.821/0.821, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 68.27 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4024, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002643/0.405, allocations: 1.636 MB / 0.5818 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1782/0.5833, allocations: 151.6 MB / 0.7298 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.5835, allocations: 0 / 0.7298 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.5838, allocations: 15.81 kB / 0.7298 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003312/0.5841, allocations: 47.62 kB / 0.7298 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.5846, allocations: 151.4 kB / 0.73 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002426/0.5849, allocations: 115.6 kB / 0.7301 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.5851, allocations: 39.56 kB / 0.7301 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5865, allocations: 166.9 kB / 0.7303 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.5867, allocations: 51.75 kB / 0.7303 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.5867, allocations: 8 kB / 0.7304 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.5872, allocations: 183.7 kB / 0.7305 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.5872, allocations: 23.92 kB / 0.7306 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.5873, allocations: 43.73 kB / 0.7306 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.5877, allocations: 183.5 kB / 0.7308 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.5877, allocations: 0 / 0.7308 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5878, allocations: 4 kB / 0.7308 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.5878, allocations: 0 / 0.7308 GB, free: 6.762 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007382/0.5885, allocations: 442.9 kB / 0.7312 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5886, allocations: 12.03 kB / 0.7312 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.5886, allocations: 46.67 kB / 0.7313 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009892/0.5896, allocations: 79.75 kB / 0.7313 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.5899, allocations: 206.8 kB / 0.7315 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5899, allocations: 8 kB / 0.7315 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.5899, allocations: 8 kB / 0.7315 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.5903, allocations: 132 kB / 0.7317 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5904, allocations: 0 / 0.7317 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.5904, allocations: 7.938 kB / 0.7317 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5904, allocations: 11.94 kB / 0.7317 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.5909, allocations: 135.9 kB / 0.7318 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.5917, allocations: 412.4 kB / 0.7322 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007229/0.5925, allocations: 247.7 kB / 0.7324 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.5927, allocations: 76.8 kB / 0.7325 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.5928, allocations: 7.938 kB / 0.7325 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5928, allocations: 34.56 kB / 0.7326 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.5928, allocations: 0 / 0.7326 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008195/0.5936, allocations: 217.4 kB / 0.7328 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.5937, allocations: 51.41 kB / 0.7328 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.5938, allocations: 146.5 kB / 0.733 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5938, allocations: 25.7 kB / 0.733 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.5939, allocations: 104 kB / 0.7331 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.5939, allocations: 31.78 kB / 0.7331 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.594, allocations: 21.72 kB / 0.7331 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5941, allocations: 326.7 kB / 0.7334 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.5943, allocations: 55.94 kB / 0.7335 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.5945, allocations: 86.5 kB / 0.7336 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.595, allocations: 117.2 kB / 0.7337 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.595, allocations: 0 / 0.7337 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005045/0.5955, allocations: 161.5 kB / 0.7338 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5955, allocations: 6.031 kB / 0.7338 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5955, allocations: 0 / 0.7338 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5956, allocations: 0 / 0.7338 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.5958, allocations: 35.97 kB / 0.7339 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5958, allocations: 0 / 0.7339 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.596, allocations: 19.88 kB / 0.7339 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.596, allocations: 7.938 kB / 0.7339 GB, free: 3.285 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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 0.0001047/0.5961, allocations: 117.8 kB / 0.734 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.5961, allocations: 11.84 kB / 0.734 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.629e-05/0.5962, allocations: 24.7 kB / 0.7341 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.5962, allocations: 0 / 0.7341 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5962, allocations: 0 / 0.7341 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5962, allocations: 4 kB / 0.7341 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008469/0.5971, allocations: 466.3 kB / 0.7345 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5971, allocations: 0 / 0.7345 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.5973, allocations: 23.97 kB / 0.7345 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5973, allocations: 0 / 0.7345 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.5973, allocations: 4 kB / 0.7345 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5973, allocations: 7.875 kB / 0.7345 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5973, allocations: 0 / 0.7345 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.5979, allocations: 255.3 kB / 0.7348 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.598, allocations: 89 kB / 0.7349 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.598, allocations: 7.984 kB / 0.7349 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.5982, allocations: 19.92 kB / 0.7349 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.5982, allocations: 11.98 kB / 0.7349 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.5983, allocations: 0 / 0.7349 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.767e-05/0.5983, allocations: 118.4 kB / 0.735 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5984, allocations: 0 / 0.735 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002821/0.5986, allocations: 28 kB / 0.735 GB, free: 2.02 MB / 0.5606 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 (8): * Single equations (assignments): 8 * 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.0008711/0.5995, allocations: 0.8163 MB / 0.7358 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.6, allocations: 131.8 kB / 0.736 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6001, allocations: 0 / 0.736 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.6003, allocations: 63.94 kB / 0.736 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.6007, allocations: 44.38 kB / 0.7361 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.6033, allocations: 1.709 MB / 0.7377 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.6036, allocations: 0.7041 MB / 0.7384 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001555/0.6037, allocations: 24.42 kB / 0.7385 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.819e-05/0.6038, allocations: 27.42 kB / 0.7385 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/0.6038, allocations: 3.938 kB / 0.7385 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.623, allocations: 3.305 MB / 0.7417 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/8.066, allocations: 10.77 kB / 0.7417 GB, free: 11.2 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi_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_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)