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 1.93/1.93, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.0009345/0.0009346, allocations: 172.2 kB / 492.3 MB, free: 0.6211 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.236/1.236, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0007984/0.0007984, allocations: 93.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.609e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2087, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.451/3.66, allocations: 1.727 GB / 2.939 GB, free: 113.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/3.66, allocations: 84.05 kB / 2.939 GB, free: 113.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1058/3.766, allocations: 64.66 MB / 3.002 GB, free: 53.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 8.41e-07/3.766, allocations: 0 / 3.002 GB, free: 53.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.005e-05/3.766, allocations: 4 kB / 3.002 GB, free: 53.03 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.000454/3.767, allocations: 443 kB / 3.003 GB, free: 52.55 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/3.767, allocations: 12.03 kB / 3.003 GB, free: 52.54 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/3.767, allocations: 34.56 kB / 3.003 GB, free: 52.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/3.767, allocations: 83.94 kB / 3.003 GB, free: 52.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/3.768, allocations: 218.7 kB / 3.003 GB, free: 52.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/3.768, allocations: 4 kB / 3.003 GB, free: 52.16 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/3.768, allocations: 11.95 kB / 3.003 GB, free: 52.14 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/3.768, allocations: 101.6 kB / 3.003 GB, free: 52.04 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/3.768, allocations: 0 / 3.003 GB, free: 52.04 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/3.768, allocations: 7.984 kB / 3.003 GB, free: 52.03 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/3.768, allocations: 4 kB / 3.003 GB, free: 52.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/3.768, allocations: 67.98 kB / 3.003 GB, free: 51.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/3.769, allocations: 420.8 kB / 3.004 GB, free: 51.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/3.769, allocations: 203.8 kB / 3.004 GB, free: 51.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/3.769, allocations: 44.84 kB / 3.004 GB, free: 51.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/3.769, allocations: 4 kB / 3.004 GB, free: 51.22 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/3.769, allocations: 34.56 kB / 3.004 GB, free: 51.18 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/3.769, allocations: 0 / 3.004 GB, free: 51.18 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.0002098/3.769, allocations: 105.7 kB / 3.004 GB, free: 51.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/3.769, allocations: 55.36 kB / 3.004 GB, free: 51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/3.769, allocations: 136.9 kB / 3.004 GB, free: 50.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/3.769, allocations: 25.7 kB / 3.004 GB, free: 50.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/3.769, allocations: 108.2 kB / 3.004 GB, free: 50.72 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/3.77, allocations: 19.8 kB / 3.004 GB, free: 50.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/3.77, allocations: 4 kB / 3.004 GB, free: 50.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/3.77, allocations: 318.8 kB / 3.005 GB, free: 50.38 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-05/3.77, allocations: 35.92 kB / 3.005 GB, free: 50.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/3.77, allocations: 46.58 kB / 3.005 GB, free: 50.29 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/3.77, allocations: 36.02 kB / 3.005 GB, free: 50.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/3.77, allocations: 3.984 kB / 3.005 GB, free: 50.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001477/3.77, allocations: 101.6 kB / 3.005 GB, free: 50.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/3.77, allocations: 4 kB / 3.005 GB, free: 50.14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/3.77, allocations: 0 / 3.005 GB, free: 50.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/3.77, allocations: 3.938 kB / 3.005 GB, free: 50.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/3.77, allocations: 35.91 kB / 3.005 GB, free: 50.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/3.77, allocations: 8 kB / 3.005 GB, free: 50.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/3.77, allocations: 27.83 kB / 3.005 GB, free: 50.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/3.77, allocations: 4 kB / 3.005 GB, free: 50.06 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.436e-05/3.77, allocations: 106.5 kB / 3.005 GB, free: 49.95 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/3.77, allocations: 7.906 kB / 3.005 GB, free: 49.94 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/3.77, allocations: 24.61 kB / 3.005 GB, free: 49.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/3.77, allocations: 0 / 3.005 GB, free: 49.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/3.77, allocations: 4 kB / 3.005 GB, free: 49.91 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/3.77, allocations: 0 / 3.005 GB, free: 49.91 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/3.771, allocations: 406.2 kB / 3.006 GB, free: 49.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/3.771, allocations: 4 kB / 3.006 GB, free: 49.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/3.771, allocations: 35.95 kB / 3.006 GB, free: 49.42 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/3.771, allocations: 4 kB / 3.006 GB, free: 49.41 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/3.771, allocations: 4 kB / 3.006 GB, free: 49.41 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/3.771, allocations: 3.953 kB / 3.006 GB, free: 49.41 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/3.771, allocations: 0 / 3.006 GB, free: 49.41 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/3.771, allocations: 203.4 kB / 3.006 GB, free: 49.19 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/3.771, allocations: 89.02 kB / 3.006 GB, free: 49.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/3.771, allocations: 8 kB / 3.006 GB, free: 49.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/3.771, allocations: 19.92 kB / 3.006 GB, free: 49.06 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/3.772, allocations: 11.94 kB / 3.006 GB, free: 49.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/3.772, allocations: 11.98 kB / 3.006 GB, free: 49.04 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.805e-05/3.772, allocations: 110.4 kB / 3.006 GB, free: 48.93 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.1e-07/3.772, allocations: 0 / 3.006 GB, free: 48.93 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003418/3.772, allocations: 75.98 kB / 3.006 GB, free: 48.86 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.0008544/3.773, allocations: 1.266 MB / 3.007 GB, free: 47.57 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001543/3.773, allocations: 75.86 kB / 3.007 GB, free: 47.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/3.773, allocations: 3.938 kB / 3.007 GB, free: 47.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/3.773, allocations: 35.98 kB / 3.007 GB, free: 47.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/3.773, allocations: 37.48 kB / 3.007 GB, free: 47.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000493/3.774, allocations: 206.7 kB / 3.008 GB, free: 47.18 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/3.774, allocations: 0.7082 MB / 3.008 GB, free: 46.45 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001377/3.774, allocations: 20.42 kB / 3.008 GB, free: 46.43 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/3.774, allocations: 27.42 kB / 3.008 GB, free: 46.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.9e-07/3.774, allocations: 0 / 3.008 GB, free: 46.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02476/3.799, allocations: 15.33 MB / 3.023 GB, free: 31.21 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001235/3.799, allocations: 168.8 kB / 3.024 GB, free: 30.98 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/5.667, allocations: 0 / 3.024 GB, free: 30.98 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