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.939/1.939, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001046/0.001047, allocations: 172.8 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0008154/0.0008157, allocations: 95.27 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.465e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2024, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.391/3.594, allocations: 1.727 GB / 2.946 GB, free: 108.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/3.594, allocations: 84.58 kB / 2.946 GB, free: 108.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1166/3.71, allocations: 64.66 MB / 3.009 GB, free: 42.77 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.292e-06/3.711, allocations: 0 / 3.009 GB, free: 42.77 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.163e-05/3.711, allocations: 0 / 3.009 GB, free: 42.77 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.0005531/3.711, allocations: 451.1 kB / 3.01 GB, free: 42.29 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/3.711, allocations: 8.031 kB / 3.01 GB, free: 42.28 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.636e-05/3.711, allocations: 38.56 kB / 3.01 GB, free: 42.23 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007754/3.712, allocations: 79.72 kB / 3.01 GB, free: 42.15 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/3.712, allocations: 207.5 kB / 3.01 GB, free: 41.91 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/3.712, allocations: 11.95 kB / 3.01 GB, free: 41.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/3.712, allocations: 12 kB / 3.01 GB, free: 41.89 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/3.713, allocations: 98.83 kB / 3.01 GB, free: 41.79 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/3.713, allocations: 4 kB / 3.01 GB, free: 41.78 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/3.713, allocations: 0 / 3.01 GB, free: 41.78 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/3.713, allocations: 0 / 3.01 GB, free: 41.78 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/3.713, allocations: 79.91 kB / 3.01 GB, free: 41.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/3.713, allocations: 412.9 kB / 3.011 GB, free: 41.25 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/3.714, allocations: 207.7 kB / 3.011 GB, free: 41.02 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.672e-05/3.714, allocations: 48.84 kB / 3.011 GB, free: 40.97 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/3.714, allocations: 3.984 kB / 3.011 GB, free: 40.96 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/3.714, allocations: 30.56 kB / 3.011 GB, free: 40.93 MB / 1.167 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/3.714, allocations: 0 / 3.011 GB, free: 40.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=8): time 0.0002527/3.714, allocations: 109.5 kB / 3.011 GB, free: 40.81 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/3.714, allocations: 63.28 kB / 3.011 GB, free: 40.74 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/3.714, allocations: 138.7 kB / 3.011 GB, free: 40.59 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/3.714, allocations: 29.7 kB / 3.011 GB, free: 40.56 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/3.714, allocations: 96.33 kB / 3.012 GB, free: 40.46 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/3.714, allocations: 35.83 kB / 3.012 GB, free: 40.42 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/3.714, allocations: 0 / 3.012 GB, free: 40.42 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/3.714, allocations: 322.8 kB / 3.012 GB, free: 40.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/3.715, allocations: 20 kB / 3.012 GB, free: 40.08 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/3.715, allocations: 54.56 kB / 3.012 GB, free: 40.02 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/3.715, allocations: 27.98 kB / 3.012 GB, free: 39.99 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/3.715, allocations: 0 / 3.012 GB, free: 39.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001625/3.715, allocations: 105.5 kB / 3.012 GB, free: 39.88 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/3.715, allocations: 8 kB / 3.012 GB, free: 39.87 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/3.715, allocations: 0 / 3.012 GB, free: 39.87 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/3.715, allocations: 0 / 3.012 GB, free: 39.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/3.715, allocations: 36 kB / 3.012 GB, free: 39.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/3.715, allocations: 3.953 kB / 3.012 GB, free: 39.83 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/3.715, allocations: 27.89 kB / 3.012 GB, free: 39.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/3.715, allocations: 3.984 kB / 3.012 GB, free: 39.8 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 () * 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.63e-05/3.715, allocations: 110.2 kB / 3.012 GB, free: 39.69 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/3.715, allocations: 11.91 kB / 3.012 GB, free: 39.68 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/3.715, allocations: 12.62 kB / 3.012 GB, free: 39.66 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/3.715, allocations: 0 / 3.012 GB, free: 39.66 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/3.715, allocations: 0 / 3.012 GB, free: 39.66 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-06/3.715, allocations: 3.953 kB / 3.012 GB, free: 39.66 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/3.716, allocations: 414.3 kB / 3.013 GB, free: 39.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/3.716, allocations: 4 kB / 3.013 GB, free: 39.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/3.716, allocations: 31.97 kB / 3.013 GB, free: 39.16 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/3.716, allocations: 0 / 3.013 GB, free: 39.16 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/3.716, allocations: 7.938 kB / 3.013 GB, free: 39.16 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/3.716, allocations: 0 / 3.013 GB, free: 39.16 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/3.716, allocations: 4 kB / 3.013 GB, free: 39.15 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/3.716, allocations: 203.4 kB / 3.013 GB, free: 38.94 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/3.716, allocations: 89 kB / 3.013 GB, free: 38.83 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/3.716, allocations: 4 kB / 3.013 GB, free: 38.83 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/3.717, allocations: 31.88 kB / 3.013 GB, free: 38.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/3.717, allocations: 11.97 kB / 3.013 GB, free: 38.79 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/3.717, allocations: 0 / 3.013 GB, free: 38.79 MB / 1.167 GB Notification: Performance of sorting global known variables: time 6.253e-05/3.717, allocations: 118.7 kB / 3.013 GB, free: 38.67 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/3.717, allocations: 3.938 kB / 3.013 GB, free: 38.67 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004331/3.717, allocations: 67.98 kB / 3.013 GB, free: 38.6 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 () * 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.001003/3.718, allocations: 1.27 MB / 3.014 GB, free: 37.31 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001639/3.718, allocations: 67.98 kB / 3.015 GB, free: 37.25 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/3.718, allocations: 0 / 3.015 GB, free: 37.25 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/3.718, allocations: 47.92 kB / 3.015 GB, free: 37.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/3.719, allocations: 27.92 kB / 3.015 GB, free: 37.17 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/3.719, allocations: 203.2 kB / 3.015 GB, free: 36.94 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/3.72, allocations: 0.7043 MB / 3.015 GB, free: 36.21 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001495/3.72, allocations: 32.33 kB / 3.016 GB, free: 36.18 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.104e-05/3.72, allocations: 33.06 kB / 3.016 GB, free: 36.14 MB / 1.167 GB Notification: Performance of SimCode: time 3.51e-07/3.72, allocations: 4 kB / 3.016 GB, free: 36.14 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/3.746, allocations: 15.33 MB / 3.031 GB, free: 20.97 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/3.746, allocations: 169.2 kB / 3.031 GB, free: 20.75 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/5.608, allocations: 0 / 3.031 GB, free: 20.75 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