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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007892/0.0007893, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007873/0.0007873, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.613/2.613, allocations: 390.4 MB / 0.6655 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9647/0.9651, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002513/0.9676, allocations: 1.193 MB / 0.955 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.9695, allocations: 0.7556 MB / 0.9558 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.9695, allocations: 1.094 kB / 0.9558 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.9696, allocations: 3.938 kB / 0.9558 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.9697, allocations: 9.109 kB / 0.9558 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.9703, allocations: 110 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.9704, allocations: 45.98 kB / 0.9559 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.9706, allocations: 13.33 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.9707, allocations: 18.83 kB / 0.9559 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.9708, allocations: 22.42 kB / 0.956 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.9708, allocations: 3.062 kB / 0.956 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.9712, allocations: 168.3 kB / 0.9561 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.9712, allocations: 13.17 kB / 0.9561 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.9713, allocations: 28.39 kB / 0.9562 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.9715, allocations: 107.5 kB / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.9715, allocations: 0 / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.936e-06/0.9715, allocations: 0 / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.9715, allocations: 1.188 kB / 0.9563 GB, free: 6.199 MB / 0.7169 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.0005867/0.9721, allocations: 407.5 kB / 0.9567 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.9722, allocations: 12.94 kB / 0.9567 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.9722, allocations: 35.38 kB / 0.9567 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.9723, allocations: 6.734 kB / 0.9567 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.9724, allocations: 173.8 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.9724, allocations: 1.438 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.9724, allocations: 2.906 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.9727, allocations: 91.11 kB / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.9727, allocations: 0 / 0.957 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.9727, allocations: 3.953 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.9727, allocations: 1.656 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.973, allocations: 88.45 kB / 0.9571 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.9734, allocations: 279.7 kB / 0.9573 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.9736, allocations: 72.58 kB / 0.9574 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.9737, allocations: 46.92 kB / 0.9574 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.9739, allocations: 93.44 kB / 0.9575 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.9739, allocations: 35.86 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.974, allocations: 0 / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005176/0.9745, allocations: 167.6 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.9745, allocations: 52.59 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.9746, allocations: 123.4 kB / 0.9579 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.9746, allocations: 26.7 kB / 0.9579 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.9747, allocations: 87.02 kB / 0.958 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.9747, allocations: 8.938 kB / 0.958 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.9747, allocations: 4 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.141e-05/0.9748, allocations: 320.2 kB / 0.9583 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.9749, allocations: 38.84 kB / 0.9584 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.975, allocations: 52.67 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.9752, allocations: 37.78 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9752, allocations: 7.875 kB / 0.9584 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003079/0.9755, allocations: 130.3 kB / 0.9586 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.9755, allocations: 4.25 kB / 0.9586 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9755, allocations: 5 kB / 0.9586 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.9755, allocations: 0 / 0.9586 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.9757, allocations: 24.34 kB / 0.9586 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.9757, allocations: 0 / 0.9586 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.9758, allocations: 16.08 kB / 0.9586 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.9758, allocations: 5.469 kB / 0.9586 GB, free: 4.055 MB / 0.7169 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 6.443e-05/0.9758, allocations: 111.2 kB / 0.9587 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.9759, allocations: 11.45 kB / 0.9587 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.9762, allocations: 131.7 kB / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.9762, allocations: 0.9688 kB / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9763, allocations: 0 / 0.9589 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.9763, allocations: 9.109 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.9764, allocations: 166.3 kB / 0.959 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9764, allocations: 0 / 0.959 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.175e-05/0.9765, allocations: 27.22 kB / 0.9591 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.9765, allocations: 1.062 kB / 0.9591 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.9765, allocations: 3.953 kB / 0.9591 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.9765, allocations: 1.312 kB / 0.9591 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9765, allocations: 0 / 0.9591 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.9769, allocations: 215.9 kB / 0.9593 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.9769, allocations: 79.48 kB / 0.9593 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.9769, allocations: 11.92 kB / 0.9594 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.9771, allocations: 20.25 kB / 0.9594 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.9771, allocations: 2.312 kB / 0.9594 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.9771, allocations: 4 kB / 0.9594 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.9772, allocations: 92.36 kB / 0.9595 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9772, allocations: 0 / 0.9595 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003019/0.9775, allocations: 35.02 kB / 0.9595 GB, free: 3.238 MB / 0.7169 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.0005704/0.978, allocations: 0.7855 MB / 0.9603 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003138/0.9784, allocations: 94.73 kB / 0.9604 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9784, allocations: 0 / 0.9604 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.9785, allocations: 46.59 kB / 0.9604 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.9788, allocations: 22.94 kB / 0.9604 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.9798, allocations: 0.5695 MB / 0.961 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.98, allocations: 0.6812 MB / 0.9617 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.98, allocations: 10.73 kB / 0.9617 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.9801, allocations: 18.19 kB / 0.9617 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.9801, allocations: 0 / 0.9617 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01242/0.9925, allocations: 2.086 MB / 0.9637 GB, free: 288 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.9927, allocations: 181.2 kB / 0.9639 GB, free: 48 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.695, allocations: 3.938 kB / 0.9639 GB, free: 44 kB / 0.7169 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