Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_8_Buildings_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.00162/0.00162, allocations: 109.4 kB / 15.69 MB, free: 128 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.002094/0.002094, allocations: 186.2 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 68.19 kB / 0.6718 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2312, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003373/0.2346, allocations: 1.651 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6312/0.8658, allocations: 151.5 MB / 0.9332 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.866, allocations: 3.656 kB / 0.9332 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.8663, allocations: 15 kB / 0.9332 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.8665, allocations: 47.06 kB / 0.9333 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/0.867, allocations: 143.8 kB / 0.9334 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.8671, allocations: 123.4 kB / 0.9335 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.8673, allocations: 30.2 kB / 0.9336 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.8683, allocations: 165.5 kB / 0.9337 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.084e-05/0.8684, allocations: 41.89 kB / 0.9338 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.8685, allocations: 5.531 kB / 0.9338 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.8688, allocations: 181.4 kB / 0.9339 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.8689, allocations: 23.16 kB / 0.934 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.915e-05/0.8689, allocations: 46.11 kB / 0.934 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.8693, allocations: 198.9 kB / 0.9342 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.8693, allocations: 4 kB / 0.9342 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8693, allocations: 0 / 0.9342 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8693, allocations: 0 / 0.9342 GB, free: 2.641 MB / 0.7169 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.0006934/0.87, allocations: 445 kB / 0.9346 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.87, allocations: 10.44 kB / 0.9346 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.8701, allocations: 37.25 kB / 0.9347 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008453/0.8709, allocations: 82.95 kB / 0.9348 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.8712, allocations: 209.6 kB / 0.935 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.8712, allocations: 9.938 kB / 0.935 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.8713, allocations: 7.719 kB / 0.935 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.8717, allocations: 135.3 kB / 0.9351 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.8717, allocations: 1.875 kB / 0.9351 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.8717, allocations: 3.125 kB / 0.9351 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8717, allocations: 6.406 kB / 0.9351 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.8722, allocations: 135.9 kB / 0.9352 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007441/0.873, allocations: 411.4 kB / 0.9356 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006823/0.8737, allocations: 249 kB / 0.9359 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.8739, allocations: 73.08 kB / 0.9359 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.8739, allocations: 7.656 kB / 0.9359 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.874, allocations: 34.56 kB / 0.936 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.874, allocations: 1.094 kB / 0.936 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007485/0.8747, allocations: 213.4 kB / 0.9362 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.8748, allocations: 57.44 kB / 0.9362 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.8749, allocations: 148.5 kB / 0.9364 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.8749, allocations: 32.77 kB / 0.9364 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.875, allocations: 99.02 kB / 0.9365 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.8751, allocations: 32.77 kB / 0.9365 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.8751, allocations: 21.95 kB / 0.9366 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.8752, allocations: 322.8 kB / 0.9369 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.8755, allocations: 58.47 kB / 0.9369 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.8757, allocations: 81.03 kB / 0.937 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.8761, allocations: 122.5 kB / 0.9371 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.8761, allocations: 1.469 kB / 0.9371 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004641/0.8766, allocations: 157.1 kB / 0.9373 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8766, allocations: 9.156 kB / 0.9373 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8766, allocations: 3.812 kB / 0.9373 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8766, allocations: 0 / 0.9373 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.8768, allocations: 30.38 kB / 0.9373 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8768, allocations: 0 / 0.9373 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.877, allocations: 21.61 kB / 0.9373 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.877, allocations: 9.938 kB / 0.9373 GB, free: 16.71 MB / 0.7325 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.461e-05/0.8771, allocations: 118.6 kB / 0.9375 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.8772, allocations: 18.03 kB / 0.9375 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.8772, allocations: 16.62 kB / 0.9375 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.8772, allocations: 3.984 kB / 0.9375 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8772, allocations: 0 / 0.9375 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8772, allocations: 0 / 0.9375 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.878, allocations: 468.7 kB / 0.9379 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.878, allocations: 0 / 0.9379 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.8782, allocations: 28.64 kB / 0.938 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.8782, allocations: 5.094 kB / 0.938 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8782, allocations: 6.25 kB / 0.938 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8782, allocations: 5.938 kB / 0.938 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8782, allocations: 2.719 kB / 0.938 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004926/0.8787, allocations: 249.9 kB / 0.9382 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.8788, allocations: 88.8 kB / 0.9383 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.8788, allocations: 3.688 kB / 0.9383 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.879, allocations: 19.45 kB / 0.9383 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.879, allocations: 13.75 kB / 0.9383 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.879, allocations: 1.156 kB / 0.9383 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.788e-05/0.8791, allocations: 118.2 kB / 0.9385 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8791, allocations: 4.719 kB / 0.9385 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002776/0.8794, allocations: 28.38 kB / 0.9385 GB, free: 15.93 MB / 0.7325 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.0008788/0.8803, allocations: 0.8103 MB / 0.9393 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005048/0.8808, allocations: 126.3 kB / 0.9394 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8808, allocations: 0 / 0.9394 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.8811, allocations: 69.53 kB / 0.9395 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.8814, allocations: 30.05 kB / 0.9395 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.8839, allocations: 1.728 MB / 0.9412 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.8842, allocations: 0.7025 MB / 0.9419 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.8844, allocations: 31 kB / 0.9419 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.8844, allocations: 32.66 kB / 0.9419 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/0.8844, allocations: 0 / 0.9419 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.9055, allocations: 3.337 MB / 0.9452 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.543, allocations: 13.12 kB / 0.9452 GB, free: 12.87 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)