Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="BuildingSystems_BuildingSystems_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.001098/0.001098, 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.001108/0.001108, allocations: 193.9 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.286/1.286, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002184/0.002184, allocations: 287 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9235/0.9235, allocations: 169.2 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001675, allocations: 98.45 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1632, allocations: 86.97 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003694/0.167, allocations: 1.637 MB / 0.6819 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4931/0.6601, allocations: 151.5 MB / 0.8299 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.6603, allocations: 2.062 kB / 0.8299 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.6605, allocations: 23.64 kB / 0.8299 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.6608, allocations: 44.77 kB / 0.8299 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.6612, allocations: 150.2 kB / 0.8301 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.6614, allocations: 116.8 kB / 0.8302 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.6616, allocations: 29.84 kB / 0.8302 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.6626, allocations: 161.3 kB / 0.8304 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.6627, allocations: 47.94 kB / 0.8304 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.6627, allocations: 6.781 kB / 0.8304 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.6631, allocations: 178 kB / 0.8306 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.6632, allocations: 26.77 kB / 0.8306 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.6632, allocations: 48.88 kB / 0.8307 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.6636, allocations: 184 kB / 0.8308 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6636, allocations: 0 / 0.8308 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6636, allocations: 1.031 kB / 0.8308 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.6636, allocations: 4 kB / 0.8308 GB, free: 0.8086 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.0006741/0.6643, allocations: 447.9 kB / 0.8313 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.6643, allocations: 9.344 kB / 0.8313 GB, free: 16.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.6644, allocations: 38.97 kB / 0.8313 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009014/0.6653, allocations: 85.36 kB / 0.8314 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.6655, allocations: 201.6 kB / 0.8316 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.6655, allocations: 6.75 kB / 0.8316 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.6656, allocations: 8.188 kB / 0.8316 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.666, allocations: 140.1 kB / 0.8317 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.666, allocations: 0 / 0.8317 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.6661, allocations: 7.188 kB / 0.8317 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.6661, allocations: 5.156 kB / 0.8317 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005286/0.6666, allocations: 133.1 kB / 0.8319 GB, free: 16.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007389/0.6674, allocations: 413.3 kB / 0.8323 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.6681, allocations: 257.8 kB / 0.8325 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.6683, allocations: 72.66 kB / 0.8326 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.6684, allocations: 6.688 kB / 0.8326 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.6684, allocations: 31.81 kB / 0.8326 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.6684, allocations: 4 kB / 0.8326 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0008305/0.6693, allocations: 204.6 kB / 0.8328 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6693, allocations: 59.56 kB / 0.8329 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.6694, allocations: 151.7 kB / 0.833 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.6695, allocations: 26.77 kB / 0.833 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.336e-05/0.6695, allocations: 106.6 kB / 0.8332 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.6696, allocations: 26.53 kB / 0.8332 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.6696, allocations: 27.86 kB / 0.8332 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6697, allocations: 327.3 kB / 0.8335 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.67, allocations: 58.27 kB / 0.8336 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.6702, allocations: 79.44 kB / 0.8336 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.6706, allocations: 117.9 kB / 0.8338 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6706, allocations: 0 / 0.8338 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000474/0.6711, allocations: 164.5 kB / 0.8339 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6711, allocations: 9 kB / 0.8339 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.6712, allocations: 3.406 kB / 0.8339 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.6712, allocations: 0 / 0.8339 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.6714, allocations: 28.55 kB / 0.834 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6714, allocations: 0 / 0.834 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.6716, allocations: 18.45 kB / 0.834 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.6716, allocations: 11.61 kB / 0.834 GB, free: 14.87 MB / 0.5762 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.0001018/0.6717, allocations: 124.1 kB / 0.8341 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.6717, allocations: 8.219 kB / 0.8341 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.6718, allocations: 16.59 kB / 0.8341 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.6718, allocations: 1.531 kB / 0.8341 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6718, allocations: 0 / 0.8341 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6718, allocations: 1.562 kB / 0.8341 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008011/0.6726, allocations: 467.5 kB / 0.8346 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6726, allocations: 3.016 kB / 0.8346 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.6728, allocations: 25.42 kB / 0.8346 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6728, allocations: 2.344 kB / 0.8346 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.6728, allocations: 5.219 kB / 0.8346 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.6729, allocations: 5.406 kB / 0.8346 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6729, allocations: 0 / 0.8346 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004885/0.6734, allocations: 261 kB / 0.8349 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.6734, allocations: 85.98 kB / 0.8349 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.6734, allocations: 1.656 kB / 0.8349 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.6736, allocations: 20.62 kB / 0.835 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.6737, allocations: 9.359 kB / 0.835 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.6737, allocations: 1.375 kB / 0.835 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.102e-05/0.6738, allocations: 113.5 kB / 0.8351 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.824e-06/0.6738, allocations: 0 / 0.8351 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003111/0.6741, allocations: 46.97 kB / 0.8351 GB, free: 14.09 MB / 0.5762 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.0008655/0.675, allocations: 0.7987 MB / 0.8359 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.6755, allocations: 124.9 kB / 0.836 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6755, allocations: 0 / 0.836 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.6757, allocations: 71.11 kB / 0.8361 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.6761, allocations: 45.53 kB / 0.8361 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.6787, allocations: 1.724 MB / 0.8378 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.6789, allocations: 0.7028 MB / 0.8385 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.6791, allocations: 27.7 kB / 0.8385 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.6791, allocations: 32.02 kB / 0.8386 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.6791, allocations: 5.156 kB / 0.8386 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.6978, allocations: 3.34 MB / 0.8418 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.726, allocations: 5.312 kB / 0.8418 GB, free: 10.45 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)