Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_9_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.0007999/0.0008, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008662/0.0008662, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.2 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.557/2.557, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9462/0.9466, allocations: 142.3 MB / 0.9538 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002096/0.9487, allocations: 1.324 MB / 0.9551 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1752/1.124, allocations: 137.7 MB / 1.09 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/1.124, allocations: 0 / 1.09 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/1.124, allocations: 15.86 kB / 1.09 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003357/1.125, allocations: 35.78 kB / 1.09 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/1.125, allocations: 123.5 kB / 1.09 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001947/1.126, allocations: 107.6 kB / 1.09 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/1.126, allocations: 27.58 kB / 1.09 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/1.126, allocations: 115.7 kB / 1.09 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/1.126, allocations: 43.78 kB / 1.09 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/1.126, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/1.127, allocations: 175.7 kB / 1.09 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/1.127, allocations: 15.92 kB / 1.09 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.284e-05/1.127, allocations: 41.64 kB / 1.09 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/1.127, allocations: 131.8 kB / 1.09 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.127, allocations: 0 / 1.09 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.535e-06/1.127, allocations: 0 / 1.09 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.719e-06/1.127, allocations: 0 / 1.09 GB, free: 3.906 MB / 0.8419 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.0006209/1.128, allocations: 438.8 kB / 1.091 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/1.128, allocations: 8.031 kB / 1.091 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.193e-05/1.128, allocations: 42.55 kB / 1.091 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/1.129, allocations: 79.72 kB / 1.091 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/1.129, allocations: 205 kB / 1.091 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/1.129, allocations: 7.953 kB / 1.091 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/1.129, allocations: 8 kB / 1.091 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/1.129, allocations: 148 kB / 1.091 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/1.129, allocations: 0 / 1.091 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/1.129, allocations: 8 kB / 1.091 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/1.129, allocations: 0 / 1.091 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/1.13, allocations: 159.9 kB / 1.091 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/1.131, allocations: 408.4 kB / 1.092 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/1.131, allocations: 263.7 kB / 1.092 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/1.131, allocations: 88.73 kB / 1.092 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/1.131, allocations: 4 kB / 1.092 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.132, allocations: 38.55 kB / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 2.665e-06/1.132, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0007414/1.132, allocations: 257.2 kB / 1.092 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.132, allocations: 51.41 kB / 1.093 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/1.133, allocations: 148.7 kB / 1.093 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/1.133, allocations: 25.7 kB / 1.093 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/1.133, allocations: 104.3 kB / 1.093 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/1.133, allocations: 27.64 kB / 1.093 GB, free: 1.211 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/1.133, allocations: 8 kB / 1.093 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.133, allocations: 322.8 kB / 1.093 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/1.133, allocations: 67.88 kB / 1.093 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/1.133, allocations: 86.52 kB / 1.093 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/1.133, allocations: 72 kB / 1.093 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.133, allocations: 0 / 1.093 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000445/1.134, allocations: 185.5 kB / 1.094 GB, free: 472 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.134, allocations: 4 kB / 1.094 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.134, allocations: 0 / 1.094 GB, free: 468 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.134, allocations: 3.953 kB / 1.094 GB, free: 464 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.134, allocations: 39.91 kB / 1.094 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.134, allocations: 0 / 1.094 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/1.134, allocations: 19.98 kB / 1.094 GB, free: 404 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/1.134, allocations: 11.98 kB / 1.094 GB, free: 392 kB / 0.8419 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.0001047/1.134, allocations: 117.8 kB / 1.094 GB, free: 264 kB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/1.135, allocations: 11.81 kB / 1.094 GB, free: 252 kB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/1.135, allocations: 20.7 kB / 1.094 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.135, allocations: 0 / 1.094 GB, free: 232 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/1.135, allocations: 7.953 kB / 1.094 GB, free: 224 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/1.135, allocations: 0 / 1.094 GB, free: 224 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008312/1.135, allocations: 486.3 kB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.135, allocations: 0 / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.136, allocations: 31.97 kB / 1.094 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.136, allocations: 3.953 kB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/1.136, allocations: 4 kB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.136, allocations: 4 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.136, allocations: 0 / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/1.136, allocations: 275.3 kB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/1.136, allocations: 84.92 kB / 1.095 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/1.136, allocations: 15.89 kB / 1.095 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/1.136, allocations: 23.97 kB / 1.095 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/1.137, allocations: 11.92 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/1.137, allocations: 0 / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.535e-05/1.137, allocations: 120.1 kB / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.137, allocations: 0 / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002872/1.137, allocations: 28 kB / 1.095 GB, free: 15.06 MB / 0.8575 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.000898/1.138, allocations: 0.83 MB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004831/1.138, allocations: 147.8 kB / 1.096 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.138, allocations: 0 / 1.096 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/1.139, allocations: 80.17 kB / 1.096 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/1.139, allocations: 28.08 kB / 1.096 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/1.141, allocations: 0.8281 MB / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/1.141, allocations: 0.712 MB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001559/1.141, allocations: 24.41 kB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/1.141, allocations: 31.53 kB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/1.141, allocations: 3.938 kB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/1.155, allocations: 2.985 MB / 1.1 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/1.155, allocations: 206.1 kB / 1.1 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.934, allocations: 0 / 1.1 GB, free: 9.23 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat does not exist to compare? outputFormat=mat