Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.473/2.473, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001251/0.001251, allocations: 181 kB / 498.1 MB, free: 5.707 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.603/1.603, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0008813/0.0008813, allocations: 93.33 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 11.03 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3021, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.496, allocations: 150.9 MB / 1.37 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.4963, allocations: 79.94 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009463/0.5058, allocations: 2.715 MB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.996e-06/0.5059, allocations: 0 / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.5059, allocations: 0 / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005528/0.5064, allocations: 371.1 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.786e-05/0.5065, allocations: 8.031 kB / 1.373 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.611e-05/0.5066, allocations: 34.55 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.5067, allocations: 7.953 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.5068, allocations: 159.1 kB / 1.374 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.5069, allocations: 29.7 kB / 1.374 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.507, allocations: 4 kB / 1.374 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.5071, allocations: 49.61 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5071, allocations: 0 / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5072, allocations: 4 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.5072, allocations: 4 kB / 1.374 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.5073, allocations: 15.94 kB / 1.374 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.5075, allocations: 161.7 kB / 1.374 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.5078, allocations: 42.56 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/0.5081, allocations: 186.3 kB / 1.374 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.5081, allocations: 38.5 kB / 1.374 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.5081, allocations: 0 / 1.374 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002647/0.5084, allocations: 61.67 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.5085, allocations: 55.41 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.5085, allocations: 85 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.5086, allocations: 33.7 kB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.5086, allocations: 80.14 kB / 1.374 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.5087, allocations: 15.8 kB / 1.374 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.5087, allocations: 0 / 1.374 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.5088, allocations: 314.8 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.5089, allocations: 15.94 kB / 1.375 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.5089, allocations: 7.984 kB / 1.375 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.509, allocations: 15.94 kB / 1.375 GB, free: 6.215 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.509, allocations: 7.938 kB / 1.375 GB, free: 6.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001412/0.5091, allocations: 54.14 kB / 1.375 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5092, allocations: 5.875 kB / 1.375 GB, free: 6.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.5092, allocations: 4 kB / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5092, allocations: 0 / 1.375 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.5093, allocations: 4 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5093, allocations: 0 / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.5093, allocations: 11.91 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5093, allocations: 3.984 kB / 1.375 GB, free: 6.121 MB / 0.8698 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 (4): * Single equations (assignments): 4 * 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 9.252e-05/0.5094, allocations: 117.8 kB / 1.375 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.5095, allocations: 4.031 kB / 1.375 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.5097, allocations: 69.11 kB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5097, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5097, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5097, allocations: 0 / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.5098, allocations: 161.6 kB / 1.375 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5099, allocations: 4 kB / 1.375 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.024e-05/0.5099, allocations: 11.98 kB / 1.375 GB, free: 5.691 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5099, allocations: 4 kB / 1.375 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.5099, allocations: 0 / 1.375 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5099, allocations: 0 / 1.375 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.51, allocations: 4 kB / 1.375 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.5101, allocations: 81.02 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.5102, allocations: 92.94 kB / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.5102, allocations: 0 / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.5103, allocations: 8 kB / 1.375 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.5104, allocations: 3.984 kB / 1.375 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.5104, allocations: 4 kB / 1.375 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.5104, allocations: 79.28 kB / 1.375 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5104, allocations: 0 / 1.375 GB, free: 5.383 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002872/0.5107, allocations: 35.98 kB / 1.376 GB, free: 5.348 MB / 0.8698 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 (4): * Single equations (assignments): 4 * 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.0007067/0.5114, allocations: 0.6745 MB / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.5116, allocations: 27.97 kB / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5116, allocations: 0 / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.5117, allocations: 12 kB / 1.376 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.5118, allocations: 5.547 kB / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.5123, allocations: 196 kB / 1.376 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.5126, allocations: 0.677 MB / 1.377 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.5127, allocations: 7.938 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.5127, allocations: 23.42 kB / 1.377 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of SimCode: time 4.21e-07/0.5128, allocations: 0 / 1.377 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.5295, allocations: 1.614 MB / 1.379 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/0.5299, allocations: 198.4 kB / 1.379 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.162, allocations: 7.875 kB / 1.379 GB, free: 1.906 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.mat does not exist to compare? outputFormat=mat