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 1.997/1.997, allocations: 390.5 MB / 398 MB, free: 10.91 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.001017/0.001017, allocations: 184.2 kB / 491.2 MB, free: 1.559 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.258/1.258, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008126/0.0008126, allocations: 99.53 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.476e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2011, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.299/3.5, allocations: 1.727 GB / 2.939 GB, free: 138.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/3.5, allocations: 87.89 kB / 2.939 GB, free: 138.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1065/3.607, allocations: 63.7 MB / 3.001 GB, free: 73.41 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.363e-06/3.607, allocations: 0 / 3.001 GB, free: 73.41 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.143e-05/3.607, allocations: 4 kB / 3.001 GB, free: 73.41 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.0004743/3.607, allocations: 451.1 kB / 3.002 GB, free: 72.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/3.607, allocations: 8.031 kB / 3.002 GB, free: 72.91 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/3.608, allocations: 75.73 kB / 3.002 GB, free: 72.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/3.608, allocations: 208.1 kB / 3.002 GB, free: 72.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/3.608, allocations: 4 kB / 3.002 GB, free: 72.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/3.608, allocations: 7.953 kB / 3.002 GB, free: 72.59 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001387/3.609, allocations: 67.92 kB / 3.002 GB, free: 72.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/3.609, allocations: 97.55 kB / 3.002 GB, free: 72.42 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/3.609, allocations: 0 / 3.002 GB, free: 72.42 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/3.609, allocations: 4 kB / 3.002 GB, free: 72.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/3.609, allocations: 4 kB / 3.002 GB, free: 72.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/3.609, allocations: 373.6 kB / 3.003 GB, free: 72.01 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/3.61, allocations: 196.1 kB / 3.003 GB, free: 71.79 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/3.61, allocations: 48.84 kB / 3.003 GB, free: 71.74 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/3.61, allocations: 0 / 3.003 GB, free: 71.74 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.274e-05/3.61, allocations: 38.5 kB / 3.003 GB, free: 71.69 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/3.61, allocations: 0 / 3.003 GB, free: 71.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0002033/3.61, allocations: 109.5 kB / 3.003 GB, free: 71.58 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/3.61, allocations: 55.41 kB / 3.003 GB, free: 71.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/3.61, allocations: 122.1 kB / 3.003 GB, free: 71.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/3.61, allocations: 29.64 kB / 3.003 GB, free: 71.35 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/3.61, allocations: 108.1 kB / 3.003 GB, free: 71.24 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/3.61, allocations: 23.66 kB / 3.003 GB, free: 71.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/3.61, allocations: 0 / 3.003 GB, free: 71.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/3.61, allocations: 322.8 kB / 3.004 GB, free: 70.89 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/3.61, allocations: 20 kB / 3.004 GB, free: 70.87 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.893e-05/3.61, allocations: 54.56 kB / 3.004 GB, free: 70.81 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/3.61, allocations: 24.22 kB / 3.004 GB, free: 70.79 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/3.61, allocations: 4 kB / 3.004 GB, free: 70.78 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001335/3.61, allocations: 97.55 kB / 3.004 GB, free: 70.68 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/3.61, allocations: 11.94 kB / 3.004 GB, free: 70.67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/3.61, allocations: 0 / 3.004 GB, free: 70.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/3.61, allocations: 0 / 3.004 GB, free: 70.67 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/3.611, allocations: 40 kB / 3.004 GB, free: 70.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/3.611, allocations: 3.953 kB / 3.004 GB, free: 70.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/3.611, allocations: 15.98 kB / 3.004 GB, free: 70.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/3.611, allocations: 7.984 kB / 3.004 GB, free: 70.6 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 4.775e-05/3.611, allocations: 105 kB / 3.004 GB, free: 70.49 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000142/3.611, allocations: 101.5 kB / 3.004 GB, free: 70.39 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/3.611, allocations: 11.84 kB / 3.004 GB, free: 70.38 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/3.611, allocations: 20.61 kB / 3.004 GB, free: 70.36 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/3.611, allocations: 3.953 kB / 3.004 GB, free: 70.36 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/3.611, allocations: 0 / 3.004 GB, free: 70.36 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/3.611, allocations: 0 / 3.004 GB, free: 70.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/3.611, allocations: 374.9 kB / 3.005 GB, free: 69.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/3.611, allocations: 0 / 3.005 GB, free: 69.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/3.612, allocations: 31.97 kB / 3.005 GB, free: 69.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/3.612, allocations: 3.953 kB / 3.005 GB, free: 69.91 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/3.612, allocations: 0 / 3.005 GB, free: 69.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/3.612, allocations: 0 / 3.005 GB, free: 69.91 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/3.612, allocations: 3.938 kB / 3.005 GB, free: 69.91 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/3.612, allocations: 195.4 kB / 3.005 GB, free: 69.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.099e-05/3.612, allocations: 92.95 kB / 3.005 GB, free: 69.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/3.612, allocations: 3.953 kB / 3.005 GB, free: 69.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/3.612, allocations: 27.91 kB / 3.005 GB, free: 69.56 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/3.612, allocations: 7.922 kB / 3.005 GB, free: 69.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/3.612, allocations: 8 kB / 3.005 GB, free: 69.54 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.551e-05/3.612, allocations: 101.2 kB / 3.005 GB, free: 69.45 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/3.612, allocations: 0 / 3.005 GB, free: 69.45 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003219/3.613, allocations: 59.89 kB / 3.005 GB, free: 69.39 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.001018/3.614, allocations: 1.375 MB / 3.006 GB, free: 67.99 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001548/3.614, allocations: 63.97 kB / 3.006 GB, free: 67.93 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/3.614, allocations: 4 kB / 3.006 GB, free: 67.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.694e-05/3.614, allocations: 39.94 kB / 3.007 GB, free: 67.88 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/3.614, allocations: 23.97 kB / 3.007 GB, free: 67.86 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/3.615, allocations: 190.3 kB / 3.007 GB, free: 67.64 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/3.615, allocations: 0.7119 MB / 3.007 GB, free: 66.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001498/3.615, allocations: 20.59 kB / 3.007 GB, free: 66.88 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/3.615, allocations: 35.42 kB / 3.007 GB, free: 66.84 MB / 1.151 GB Notification: Performance of SimCode: time 3.7e-07/3.615, allocations: 4 kB / 3.007 GB, free: 66.84 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/3.64, allocations: 7.564 MB / 3.015 GB, free: 59.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/3.641, allocations: 156.7 kB / 3.015 GB, free: 59.11 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/5.231, allocations: 0 / 3.015 GB, free: 59.11 MB / 1.151 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