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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001134/0.001134, allocations: 192.8 kB / 487.4 MB, free: 5.078 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.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009155, allocations: 91.61 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.015e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2585, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.217/4.476, allocations: 1.726 GB / 2.932 GB, free: 131.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/4.476, allocations: 85.3 kB / 2.932 GB, free: 131.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1146/4.591, allocations: 63.69 MB / 2.994 GB, free: 72.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/4.591, allocations: 4 kB / 2.994 GB, free: 72.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.409e-05/4.591, allocations: 8.203 kB / 2.994 GB, free: 72.79 MB / 1.151 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.0005851/4.591, allocations: 443.9 kB / 2.995 GB, free: 72.31 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/4.592, allocations: 15.97 kB / 2.995 GB, free: 72.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000767/4.592, allocations: 71.73 kB / 2.995 GB, free: 72.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/4.593, allocations: 206.9 kB / 2.995 GB, free: 71.98 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/4.593, allocations: 4 kB / 2.995 GB, free: 71.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/4.593, allocations: 4 kB / 2.995 GB, free: 71.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001547/4.593, allocations: 67.92 kB / 2.995 GB, free: 71.91 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/4.593, allocations: 105.5 kB / 2.995 GB, free: 71.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/4.593, allocations: 3.938 kB / 2.995 GB, free: 71.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/4.593, allocations: 0 / 2.995 GB, free: 71.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/4.593, allocations: 0 / 2.995 GB, free: 71.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/4.594, allocations: 381.5 kB / 2.996 GB, free: 71.39 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/4.594, allocations: 196 kB / 2.996 GB, free: 71.17 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/4.594, allocations: 48.78 kB / 2.996 GB, free: 71.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/4.594, allocations: 0 / 2.996 GB, free: 71.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/4.594, allocations: 42.56 kB / 2.996 GB, free: 71.07 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/4.594, allocations: 0 / 2.996 GB, free: 71.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.000231/4.594, allocations: 101.7 kB / 2.996 GB, free: 70.96 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/4.594, allocations: 51.41 kB / 2.996 GB, free: 70.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/4.594, allocations: 123.2 kB / 2.996 GB, free: 70.77 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/4.594, allocations: 25.7 kB / 2.996 GB, free: 70.74 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/4.594, allocations: 104.1 kB / 2.996 GB, free: 70.63 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/4.595, allocations: 31.58 kB / 2.996 GB, free: 70.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/4.595, allocations: 0 / 2.996 GB, free: 70.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/4.595, allocations: 326.8 kB / 2.997 GB, free: 70.27 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/4.595, allocations: 20 kB / 2.997 GB, free: 70.25 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.605e-05/4.595, allocations: 50.56 kB / 2.997 GB, free: 70.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/4.595, allocations: 27.98 kB / 2.997 GB, free: 70.17 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/4.595, allocations: 0 / 2.997 GB, free: 70.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001365/4.595, allocations: 89.58 kB / 2.997 GB, free: 70.07 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/4.595, allocations: 8 kB / 2.997 GB, free: 70.07 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/4.595, allocations: 3.984 kB / 2.997 GB, free: 70.06 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/4.595, allocations: 4.031 kB / 2.997 GB, free: 70.06 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/4.595, allocations: 39.91 kB / 2.997 GB, free: 70.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/4.595, allocations: 0 / 2.997 GB, free: 70.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/4.595, allocations: 31.84 kB / 2.997 GB, free: 69.99 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/4.595, allocations: 7.984 kB / 2.997 GB, free: 69.98 MB / 1.151 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 () * 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 6.358e-05/4.595, allocations: 101 kB / 2.997 GB, free: 69.88 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000145/4.596, allocations: 97.56 kB / 2.997 GB, free: 69.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/4.596, allocations: 7.906 kB / 2.997 GB, free: 69.77 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/4.596, allocations: 20.56 kB / 2.997 GB, free: 69.75 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/4.596, allocations: 0 / 2.997 GB, free: 69.75 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/4.596, allocations: 7.938 kB / 2.997 GB, free: 69.74 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/4.596, allocations: 0 / 2.997 GB, free: 69.74 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/4.596, allocations: 375 kB / 2.997 GB, free: 69.33 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/4.596, allocations: 0 / 2.997 GB, free: 69.33 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/4.596, allocations: 31.97 kB / 2.997 GB, free: 69.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/4.596, allocations: 3.984 kB / 2.997 GB, free: 69.29 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/4.596, allocations: 7.891 kB / 2.997 GB, free: 69.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/4.596, allocations: 4 kB / 2.997 GB, free: 69.28 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/4.596, allocations: 0 / 2.997 GB, free: 69.28 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/4.597, allocations: 203.4 kB / 2.998 GB, free: 69.07 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/4.597, allocations: 84.95 kB / 2.998 GB, free: 68.96 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/4.597, allocations: 0 / 2.998 GB, free: 68.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/4.597, allocations: 35.83 kB / 2.998 GB, free: 68.93 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/4.597, allocations: 4 kB / 2.998 GB, free: 68.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/4.597, allocations: 3.984 kB / 2.998 GB, free: 68.92 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.614e-05/4.597, allocations: 97.52 kB / 2.998 GB, free: 68.83 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.2e-07/4.597, allocations: 0 / 2.998 GB, free: 68.83 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003428/4.597, allocations: 59.98 kB / 2.998 GB, free: 68.77 MB / 1.151 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 () * 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.001094/4.598, allocations: 1.362 MB / 2.999 GB, free: 67.38 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000164/4.599, allocations: 67.98 kB / 2.999 GB, free: 67.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/4.599, allocations: 0 / 2.999 GB, free: 67.32 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/4.599, allocations: 35.98 kB / 2.999 GB, free: 67.28 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/4.599, allocations: 35.8 kB / 2.999 GB, free: 67.25 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006011/4.599, allocations: 197.5 kB / 3 GB, free: 67.02 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/4.6, allocations: 0.7041 MB / 3 GB, free: 66.29 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001502/4.6, allocations: 24.66 kB / 3 GB, free: 66.26 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/4.6, allocations: 31.42 kB / 3 GB, free: 66.23 MB / 1.151 GB Notification: Performance of SimCode: time 8.11e-07/4.6, allocations: 0 / 3 GB, free: 66.23 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/4.627, allocations: 7.56 MB / 3.008 GB, free: 58.69 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/4.628, allocations: 152.1 kB / 3.008 GB, free: 58.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/6.467, allocations: 0 / 3.008 GB, free: 58.5 MB / 1.151 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