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.356/2.356, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001212/0.001212, allocations: 185 kB / 498.1 MB, free: 5.75 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.568/1.568, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0008978/0.0008978, allocations: 94.67 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 10 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.719/5.07, allocations: 1.727 GB / 2.95 GB, free: 293.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/5.07, allocations: 87.95 kB / 2.95 GB, free: 293.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1269/5.197, allocations: 64.76 MB / 3.013 GB, free: 227.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.546e-06/5.197, allocations: 7.984 kB / 3.013 GB, free: 227.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.013e-05/5.197, allocations: 8 kB / 3.013 GB, free: 227.6 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.0008142/5.198, allocations: 455.6 kB / 3.013 GB, free: 227.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/5.198, allocations: 8.031 kB / 3.013 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/5.198, allocations: 46.55 kB / 3.013 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/5.199, allocations: 67.83 kB / 3.014 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/5.199, allocations: 211.4 kB / 3.014 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/5.199, allocations: 11.95 kB / 3.014 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/5.199, allocations: 8 kB / 3.014 GB, free: 226.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/5.2, allocations: 146.8 kB / 3.014 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/5.2, allocations: 0 / 3.014 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/5.2, allocations: 4 kB / 3.014 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/5.2, allocations: 7.984 kB / 3.014 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/5.2, allocations: 159.8 kB / 3.014 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007319/5.201, allocations: 412.9 kB / 3.014 GB, free: 225.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/5.202, allocations: 263.8 kB / 3.015 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/5.202, allocations: 4 kB / 3.015 GB, free: 225.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/5.202, allocations: 38.56 kB / 3.015 GB, free: 225.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/5.202, allocations: 0 / 3.015 GB, free: 225.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.000758/5.203, allocations: 253.4 kB / 3.015 GB, free: 225.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/5.203, allocations: 59.41 kB / 3.015 GB, free: 225.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/5.203, allocations: 131.5 kB / 3.015 GB, free: 225.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/5.203, allocations: 25.7 kB / 3.015 GB, free: 225.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/5.203, allocations: 100.3 kB / 3.015 GB, free: 225 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/5.203, allocations: 31.69 kB / 3.015 GB, free: 224.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/5.203, allocations: 4 kB / 3.015 GB, free: 224.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/5.203, allocations: 322.8 kB / 3.016 GB, free: 224.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/5.203, allocations: 59.95 kB / 3.016 GB, free: 224.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/5.203, allocations: 94.52 kB / 3.016 GB, free: 224.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/5.204, allocations: 68.45 kB / 3.016 GB, free: 224.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/5.204, allocations: 0 / 3.016 GB, free: 224.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004496/5.204, allocations: 185.4 kB / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/5.204, allocations: 8 kB / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/5.204, allocations: 0 / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/5.204, allocations: 0 / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/5.204, allocations: 31.97 kB / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/5.204, allocations: 7.953 kB / 3.016 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/5.204, allocations: 27.91 kB / 3.016 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/5.204, allocations: 0 / 3.016 GB, free: 224.1 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.79e-05/5.205, allocations: 119.4 kB / 3.016 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/5.205, allocations: 19.8 kB / 3.016 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.222e-05/5.205, allocations: 16.72 kB / 3.016 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/5.205, allocations: 4 kB / 3.016 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/5.205, allocations: 0 / 3.016 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/5.205, allocations: 3.953 kB / 3.016 GB, free: 223.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007059/5.205, allocations: 486.2 kB / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/5.205, allocations: 4 kB / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/5.206, allocations: 35.97 kB / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/5.206, allocations: 0 / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/5.206, allocations: 3.984 kB / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/5.206, allocations: 3.953 kB / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/5.206, allocations: 0 / 3.017 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/5.206, allocations: 287.3 kB / 3.017 GB, free: 223.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/5.206, allocations: 88.92 kB / 3.017 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/5.206, allocations: 3.938 kB / 3.017 GB, free: 223 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/5.206, allocations: 23.98 kB / 3.017 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/5.206, allocations: 7.938 kB / 3.017 GB, free: 222.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/5.207, allocations: 7.984 kB / 3.017 GB, free: 222.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 5.873e-05/5.207, allocations: 116.8 kB / 3.017 GB, free: 222.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.11e-07/5.207, allocations: 0 / 3.017 GB, free: 222.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004996/5.207, allocations: 71.92 kB / 3.017 GB, free: 222.7 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.001451/5.209, allocations: 1.341 MB / 3.019 GB, free: 221.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004866/5.209, allocations: 147.9 kB / 3.019 GB, free: 221.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/5.209, allocations: 0 / 3.019 GB, free: 221.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/5.209, allocations: 79.88 kB / 3.019 GB, free: 221.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/5.21, allocations: 35.88 kB / 3.019 GB, free: 221.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/5.211, allocations: 0.8203 MB / 3.02 GB, free: 220.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/5.211, allocations: 0.7083 MB / 3.02 GB, free: 219.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001638/5.212, allocations: 28.41 kB / 3.02 GB, free: 219.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/5.212, allocations: 27.42 kB / 3.02 GB, free: 219.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.2e-07/5.212, allocations: 0 / 3.02 GB, free: 219.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/5.242, allocations: 13.37 MB / 3.033 GB, free: 206.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/5.242, allocations: 190 kB / 3.034 GB, free: 206 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/7.345, allocations: 6.25 kB / 3.034 GB, free: 206 MB / 1.167 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