Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_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.001174/0.001174, allocations: 108 kB / 15.6 MB, free: 132 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.001494/0.001494, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.94 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1718, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003071/0.1749, allocations: 1.631 MB / 0.5861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4762/0.6511, allocations: 151.5 MB / 0.734 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.6512, allocations: 1.125 kB / 0.734 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.6514, allocations: 16.41 kB / 0.7341 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.6517, allocations: 49.66 kB / 0.7341 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.6522, allocations: 145.7 kB / 0.7342 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.6523, allocations: 119.4 kB / 0.7344 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.6525, allocations: 34.73 kB / 0.7344 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.6536, allocations: 168.6 kB / 0.7346 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.6537, allocations: 46.03 kB / 0.7346 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.6537, allocations: 6.469 kB / 0.7346 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.6541, allocations: 183.6 kB / 0.7348 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.6541, allocations: 20.2 kB / 0.7348 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.032e-05/0.6542, allocations: 47.56 kB / 0.7348 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.6545, allocations: 190.3 kB / 0.735 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6545, allocations: 1.781 kB / 0.735 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6545, allocations: 0 / 0.735 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6546, allocations: 1.375 kB / 0.735 GB, free: 13.35 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.0006295/0.6552, allocations: 443.1 kB / 0.7355 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6552, allocations: 10.88 kB / 0.7355 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.6553, allocations: 38.52 kB / 0.7355 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/0.6563, allocations: 80.28 kB / 0.7356 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.6565, allocations: 218 kB / 0.7358 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.6565, allocations: 4.281 kB / 0.7358 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.6565, allocations: 8.5 kB / 0.7358 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.657, allocations: 134.6 kB / 0.7359 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.657, allocations: 0 / 0.7359 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.657, allocations: 5.156 kB / 0.7359 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.657, allocations: 5.062 kB / 0.7359 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.6576, allocations: 140 kB / 0.7361 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.6584, allocations: 414.7 kB / 0.7365 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/0.6592, allocations: 254.2 kB / 0.7367 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.6595, allocations: 71.88 kB / 0.7368 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.6595, allocations: 1.156 kB / 0.7368 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.6595, allocations: 39.78 kB / 0.7368 GB, free: 12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.326e-05/0.6595, allocations: 0 / 0.7368 GB, free: 12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0008138/0.6604, allocations: 208.4 kB / 0.737 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.6604, allocations: 59.22 kB / 0.7371 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.6605, allocations: 148 kB / 0.7372 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.6606, allocations: 25.7 kB / 0.7372 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.6606, allocations: 104.4 kB / 0.7373 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.6607, allocations: 24.92 kB / 0.7374 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.6607, allocations: 22.92 kB / 0.7374 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.6609, allocations: 334 kB / 0.7377 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.6611, allocations: 55.64 kB / 0.7378 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.6614, allocations: 76.67 kB / 0.7378 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.6618, allocations: 120.2 kB / 0.7379 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6618, allocations: 3.438 kB / 0.7379 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004982/0.6623, allocations: 163.8 kB / 0.7381 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6623, allocations: 4.531 kB / 0.7381 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6623, allocations: 1.094 kB / 0.7381 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6624, allocations: 0 / 0.7381 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.6626, allocations: 28.41 kB / 0.7381 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6626, allocations: 1.156 kB / 0.7381 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.6628, allocations: 21.06 kB / 0.7382 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.6628, allocations: 8.516 kB / 0.7382 GB, free: 11.09 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 9.09e-05/0.6629, allocations: 123.3 kB / 0.7383 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.6629, allocations: 8.375 kB / 0.7383 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.663, allocations: 14.64 kB / 0.7383 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.663, allocations: 1.094 kB / 0.7383 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.663, allocations: 0 / 0.7383 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.663, allocations: 9.109 kB / 0.7383 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008506/0.6639, allocations: 470.9 kB / 0.7388 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.6639, allocations: 4.781 kB / 0.7388 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.6641, allocations: 30.64 kB / 0.7388 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6641, allocations: 1.156 kB / 0.7388 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.6641, allocations: 1.219 kB / 0.7388 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6641, allocations: 6.328 kB / 0.7388 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6641, allocations: 1.062 kB / 0.7388 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.6647, allocations: 260.2 kB / 0.739 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.6647, allocations: 84.14 kB / 0.7391 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.6647, allocations: 1.094 kB / 0.7391 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.6649, allocations: 22.53 kB / 0.7392 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.665, allocations: 5.812 kB / 0.7392 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.665, allocations: 7.281 kB / 0.7392 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.311e-05/0.6651, allocations: 114.9 kB / 0.7393 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6651, allocations: 0 / 0.7393 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002868/0.6654, allocations: 25.97 kB / 0.7393 GB, free: 10.21 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.0008322/0.6662, allocations: 0.8093 MB / 0.7401 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005271/0.6668, allocations: 133.7 kB / 0.7402 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6668, allocations: 0 / 0.7402 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.667, allocations: 70.56 kB / 0.7403 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.6674, allocations: 35.81 kB / 0.7403 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.6698, allocations: 1.725 MB / 0.742 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.6701, allocations: 0.7025 MB / 0.7427 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000157/0.6702, allocations: 27.22 kB / 0.7427 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.6703, allocations: 29.89 kB / 0.7427 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.6703, allocations: 0 / 0.7427 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.6907, allocations: 3.321 MB / 0.746 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.981, allocations: 3.375 kB / 0.746 GB, free: 5.512 MB / 0.5606 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)