Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.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.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_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.358/2.358, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001197/0.001197, allocations: 183 kB / 498.1 MB, free: 5.676 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.635/1.635, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0009819/0.0009821, allocations: 95.83 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004387, allocations: 13.44 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3489, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.5685, allocations: 151.2 MB / 1.371 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5689, allocations: 75.95 kB / 1.371 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009409/0.5783, allocations: 2.542 MB / 1.373 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.35e-06/0.5784, allocations: 0 / 1.373 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.5784, allocations: 0 / 1.373 GB, free: 15.42 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006513/0.579, allocations: 403.1 kB / 1.374 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.5791, allocations: 12.03 kB / 1.374 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.5792, allocations: 38.55 kB / 1.374 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.5792, allocations: 11.86 kB / 1.374 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.5794, allocations: 170.9 kB / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.5794, allocations: 8 kB / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.5794, allocations: 0 / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.5798, allocations: 85.64 kB / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5798, allocations: 0 / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5798, allocations: 4 kB / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.5798, allocations: 0 / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.5802, allocations: 91.92 kB / 1.374 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.5806, allocations: 288.6 kB / 1.374 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.5809, allocations: 66.55 kB / 1.374 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.5811, allocations: 93.17 kB / 1.374 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5811, allocations: 30.56 kB / 1.374 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.833e-06/0.5811, allocations: 7.938 kB / 1.374 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0006252/0.5818, allocations: 177.4 kB / 1.375 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5818, allocations: 51.41 kB / 1.375 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.5819, allocations: 108.9 kB / 1.375 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.5819, allocations: 25.7 kB / 1.375 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.582, allocations: 92.12 kB / 1.375 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.582, allocations: 11.84 kB / 1.375 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.5821, allocations: 0 / 1.375 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5822, allocations: 318.8 kB / 1.375 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.5824, allocations: 43.95 kB / 1.375 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5826, allocations: 39.97 kB / 1.375 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.5827, allocations: 43.95 kB / 1.375 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.5827, allocations: 0 / 1.375 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003625/0.5831, allocations: 125.5 kB / 1.375 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5831, allocations: 8 kB / 1.375 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.5831, allocations: 4 kB / 1.375 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5832, allocations: 0 / 1.375 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.5833, allocations: 27.98 kB / 1.375 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.5833, allocations: 3.953 kB / 1.375 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.715e-05/0.5834, allocations: 19.97 kB / 1.375 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.5835, allocations: 4 kB / 1.375 GB, free: 12.81 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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.081e-05/0.5836, allocations: 111.4 kB / 1.376 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.5836, allocations: 3.906 kB / 1.376 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.584, allocations: 133.5 kB / 1.376 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.584, allocations: 0 / 1.376 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.584, allocations: 0 / 1.376 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.584, allocations: 3.953 kB / 1.376 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.5842, allocations: 181.6 kB / 1.376 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.5842, allocations: 0 / 1.376 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.5844, allocations: 23.98 kB / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5844, allocations: 0 / 1.376 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5844, allocations: 4 kB / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5844, allocations: 0 / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5844, allocations: 3.938 kB / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.5848, allocations: 215.4 kB / 1.376 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.5849, allocations: 85.02 kB / 1.376 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.5849, allocations: 4 kB / 1.376 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.585, allocations: 19.98 kB / 1.376 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.5851, allocations: 7.922 kB / 1.376 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.5851, allocations: 4.422 kB / 1.376 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.5852, allocations: 91.27 kB / 1.376 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5852, allocations: 0 / 1.376 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003184/0.5855, allocations: 39.94 kB / 1.376 GB, free: 11.8 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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.000901/0.5864, allocations: 0.7901 MB / 1.377 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.5868, allocations: 91.91 kB / 1.377 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5868, allocations: 4 kB / 1.377 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.587, allocations: 51.89 kB / 1.377 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.5872, allocations: 4 kB / 1.377 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.5885, allocations: 0.5859 MB / 1.378 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.5888, allocations: 0.6848 MB / 1.379 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.501e-05/0.5888, allocations: 8 kB / 1.379 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.5889, allocations: 19.44 kB / 1.379 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5889, allocations: 0 / 1.379 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01506/0.6039, allocations: 2.009 MB / 1.381 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.6042, allocations: 181.4 kB / 1.381 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.302, allocations: 4 kB / 1.381 GB, free: 7.328 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX_res.mat does not exist to compare? outputFormat=mat