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.001034/0.001034, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.00125/0.00125, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.873/1.873, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000584/0.000584, allocations: 22.59 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3125, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00197/0.3145, allocations: 1.332 MB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6648/0.9793, allocations: 137.7 MB / 0.9231 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.9795, allocations: 6 kB / 0.9232 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.9796, allocations: 11.77 kB / 0.9232 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.9799, allocations: 37.41 kB / 0.9232 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.9804, allocations: 119.4 kB / 0.9233 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.9806, allocations: 108 kB / 0.9234 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.9807, allocations: 22.34 kB / 0.9234 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003735/0.9811, allocations: 123.5 kB / 0.9236 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.14e-05/0.9812, allocations: 40.09 kB / 0.9236 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.9812, allocations: 2.781 kB / 0.9236 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.9816, allocations: 174.4 kB / 0.9238 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.9816, allocations: 17.28 kB / 0.9238 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.982, allocations: 41.45 kB / 0.9238 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.9822, allocations: 127.3 kB / 0.9239 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.9822, allocations: 0.6094 kB / 0.9239 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9822, allocations: 0 / 0.9239 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.9823, allocations: 2.531 kB / 0.9239 GB, free: 21.73 MB / 0.7325 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.0006827/0.9829, allocations: 438.5 kB / 0.9244 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.983, allocations: 11.72 kB / 0.9244 GB, free: 21.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.9831, allocations: 36.23 kB / 0.9244 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009329/0.984, allocations: 85.05 kB / 0.9245 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.9843, allocations: 207.3 kB / 0.9247 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.9843, allocations: 10.88 kB / 0.9247 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.9843, allocations: 4.812 kB / 0.9247 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005041/0.9849, allocations: 146.7 kB / 0.9248 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.9849, allocations: 0 / 0.9248 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.9849, allocations: 3.953 kB / 0.9248 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.9849, allocations: 6.844 kB / 0.9249 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005522/0.9855, allocations: 161.3 kB / 0.925 GB, free: 21.04 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009742/0.9865, allocations: 411 kB / 0.9254 GB, free: 20.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.9872, allocations: 260.8 kB / 0.9256 GB, free: 20.63 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.9874, allocations: 89.81 kB / 0.9257 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.9874, allocations: 0 / 0.9257 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.9875, allocations: 35.78 kB / 0.9258 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.9875, allocations: 0 / 0.9258 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0007558/0.9882, allocations: 246.2 kB / 0.926 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.9883, allocations: 55.25 kB / 0.9261 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.9884, allocations: 142.9 kB / 0.9262 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.9884, allocations: 28.86 kB / 0.9262 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.9885, allocations: 110.2 kB / 0.9263 GB, free: 20.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.9886, allocations: 24.44 kB / 0.9263 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.9886, allocations: 0.875 kB / 0.9263 GB, free: 20.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.9887, allocations: 329.4 kB / 0.9267 GB, free: 19.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.9889, allocations: 68.81 kB / 0.9267 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.9891, allocations: 82.66 kB / 0.9268 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.9894, allocations: 74.03 kB / 0.9269 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9894, allocations: 0 / 0.9269 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004839/0.9899, allocations: 175.9 kB / 0.927 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.9899, allocations: 11.83 kB / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.9899, allocations: 0 / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9899, allocations: 2.875 kB / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.9901, allocations: 32.33 kB / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.9902, allocations: 4.062 kB / 0.9271 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.9903, allocations: 28.48 kB / 0.9271 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.9903, allocations: 6.672 kB / 0.9271 GB, free: 19.83 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.9905, allocations: 124.3 kB / 0.9272 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.9905, allocations: 14.08 kB / 0.9273 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.393e-05/0.9906, allocations: 15.81 kB / 0.9273 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.9906, allocations: 2.688 kB / 0.9273 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9906, allocations: 4 kB / 0.9273 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9906, allocations: 0.5625 kB / 0.9273 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008214/0.9914, allocations: 489.8 kB / 0.9277 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9914, allocations: 0 / 0.9277 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.9916, allocations: 34.72 kB / 0.9278 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.9916, allocations: 4.75 kB / 0.9278 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.9917, allocations: 3.281 kB / 0.9278 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.9917, allocations: 0.75 kB / 0.9278 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.9917, allocations: 0 / 0.9278 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.9922, allocations: 281.6 kB / 0.9281 GB, free: 19.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.9922, allocations: 86.92 kB / 0.9281 GB, free: 19.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.9923, allocations: 4 kB / 0.9281 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.9924, allocations: 25.17 kB / 0.9282 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.634e-05/0.9925, allocations: 7.969 kB / 0.9282 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.9925, allocations: 3.328 kB / 0.9282 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.863e-05/0.9926, allocations: 116 kB / 0.9283 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9926, allocations: 2.625 kB / 0.9283 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002753/0.9929, allocations: 32.89 kB / 0.9283 GB, free: 19.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008701/0.9938, allocations: 0.8254 MB / 0.9291 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.9943, allocations: 147.4 kB / 0.9293 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9943, allocations: 4 kB / 0.9293 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.9945, allocations: 80.39 kB / 0.9293 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.9949, allocations: 32.23 kB / 0.9294 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.9965, allocations: 0.8168 MB / 0.9302 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.9968, allocations: 0.7027 MB / 0.9309 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.997, allocations: 26.11 kB / 0.9309 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.9971, allocations: 31.41 kB / 0.9309 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.9971, allocations: 0 / 0.9309 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/1.01, allocations: 2.985 MB / 0.9338 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/1.01, allocations: 202.2 kB / 0.934 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.952, allocations: 1.375 kB / 0.934 GB, free: 16.8 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) Environment - environmentSimulation: