Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 393.5 MB / 408.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 182.9 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.1 MB / 0.7992 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000908/0.0009078, allocations: 121.3 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003552, allocations: 15.88 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2902, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.482/4.772, allocations: 1.727 GB / 2.957 GB, free: 260 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/4.773, allocations: 80.61 kB / 2.957 GB, free: 260 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1182/4.891, allocations: 64.77 MB / 3.02 GB, free: 194 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.236e-06/4.891, allocations: 3.938 kB / 3.02 GB, free: 194 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.38e-05/4.891, allocations: 7.984 kB / 3.02 GB, free: 194 MB / 1.167 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.0007339/4.892, allocations: 459.7 kB / 3.021 GB, free: 193.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/4.892, allocations: 8.562 kB / 3.021 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/4.892, allocations: 42.55 kB / 3.021 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008517/4.893, allocations: 71.83 kB / 3.021 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/4.893, allocations: 212 kB / 3.021 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/4.893, allocations: 3.953 kB / 3.021 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/4.893, allocations: 15.98 kB / 3.021 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/4.894, allocations: 145.5 kB / 3.021 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/4.894, allocations: 3.984 kB / 3.021 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/4.894, allocations: 4 kB / 3.021 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/4.894, allocations: 0 / 3.021 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/4.894, allocations: 155.9 kB / 3.021 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/4.895, allocations: 420.4 kB / 3.022 GB, free: 192.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/4.896, allocations: 264 kB / 3.022 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/4.896, allocations: 0 / 3.022 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/4.896, allocations: 34.56 kB / 3.022 GB, free: 192 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/4.896, allocations: 0 / 3.022 GB, free: 192 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.0007526/4.896, allocations: 257.4 kB / 3.022 GB, free: 191.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/4.896, allocations: 55.41 kB / 3.022 GB, free: 191.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.923e-05/4.897, allocations: 136.8 kB / 3.022 GB, free: 191.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/4.897, allocations: 25.7 kB / 3.022 GB, free: 191.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/4.897, allocations: 104.3 kB / 3.022 GB, free: 191.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/4.897, allocations: 27.69 kB / 3.022 GB, free: 191.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/4.897, allocations: 8 kB / 3.022 GB, free: 191.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.02e-05/4.897, allocations: 318.8 kB / 3.023 GB, free: 191 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/4.897, allocations: 63.94 kB / 3.023 GB, free: 191 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/4.897, allocations: 90.52 kB / 3.023 GB, free: 190.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/4.897, allocations: 71.92 kB / 3.023 GB, free: 190.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/4.897, allocations: 0 / 3.023 GB, free: 190.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004396/4.898, allocations: 181.5 kB / 3.023 GB, free: 190.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/4.898, allocations: 8 kB / 3.023 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/4.898, allocations: 3.938 kB / 3.023 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/4.898, allocations: 8 kB / 3.023 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/4.898, allocations: 31.97 kB / 3.023 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/4.898, allocations: 3.953 kB / 3.023 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/4.898, allocations: 27.91 kB / 3.023 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/4.898, allocations: 8 kB / 3.023 GB, free: 190.5 MB / 1.167 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 8.912e-05/4.898, allocations: 125.7 kB / 3.023 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/4.898, allocations: 7.906 kB / 3.023 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/4.899, allocations: 16.7 kB / 3.023 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/4.899, allocations: 4 kB / 3.023 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/4.899, allocations: 0 / 3.023 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/4.899, allocations: 3.953 kB / 3.023 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006955/4.899, allocations: 482.3 kB / 3.024 GB, free: 189.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/4.899, allocations: 0 / 3.024 GB, free: 189.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/4.899, allocations: 35.91 kB / 3.024 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/4.899, allocations: 0 / 3.024 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/4.9, allocations: 7.984 kB / 3.024 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/4.9, allocations: 7.953 kB / 3.024 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/4.9, allocations: 0 / 3.024 GB, free: 189.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/4.9, allocations: 272 kB / 3.024 GB, free: 189.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/4.9, allocations: 88.92 kB / 3.024 GB, free: 189.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/4.9, allocations: 4 kB / 3.024 GB, free: 189.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/4.9, allocations: 23.98 kB / 3.024 GB, free: 189.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/4.9, allocations: 7.938 kB / 3.024 GB, free: 189.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/4.9, allocations: 4 kB / 3.024 GB, free: 189.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.859e-05/4.9, allocations: 115.2 kB / 3.024 GB, free: 189.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.9, allocations: 0 / 3.024 GB, free: 189.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004274/4.901, allocations: 67.92 kB / 3.024 GB, free: 189.2 MB / 1.167 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.001342/4.902, allocations: 1.35 MB / 3.026 GB, free: 187.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004757/4.903, allocations: 143.9 kB / 3.026 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/4.903, allocations: 4 kB / 3.026 GB, free: 187.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/4.903, allocations: 79.88 kB / 3.026 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/4.903, allocations: 31.88 kB / 3.026 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/4.905, allocations: 0.8287 MB / 3.027 GB, free: 186.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/4.905, allocations: 0.7043 MB / 3.027 GB, free: 186 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001481/4.905, allocations: 28.34 kB / 3.028 GB, free: 185.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/4.905, allocations: 27.42 kB / 3.028 GB, free: 185.9 MB / 1.167 GB Notification: Performance of SimCode: time 3.01e-07/4.905, allocations: 4 kB / 3.028 GB, free: 185.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/4.931, allocations: 13.38 MB / 3.041 GB, free: 172.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/4.931, allocations: 200.1 kB / 3.041 GB, free: 172.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/7.019, allocations: 2.953 kB / 3.041 GB, free: 172.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.mat does not exist to compare? outputFormat=mat