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.001255/0.001255, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.00122/0.00122, allocations: 177.3 kB / 15.94 MB, free: 228 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.406/1.406, allocations: 223.2 MB / 239.9 MB, free: 5.27 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.416/2.416, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003498, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.857/0.8573, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.001653/0.859, allocations: 1.189 MB / 0.9547 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.8602, allocations: 0.6669 MB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.8602, allocations: 0 / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.8602, allocations: 5.344 kB / 0.9554 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.8603, allocations: 13.47 kB / 0.9554 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.8607, allocations: 101.8 kB / 0.9555 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.998e-05/0.8607, allocations: 34.92 kB / 0.9555 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.8608, allocations: 14.45 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.471e-05/0.8609, allocations: 18.95 kB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.774e-05/0.861, allocations: 19.2 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.861, allocations: 1.438 kB / 0.9556 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.8613, allocations: 167.5 kB / 0.9558 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.8613, allocations: 9.297 kB / 0.9558 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.8613, allocations: 29.05 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.8615, allocations: 98.28 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8615, allocations: 0 / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8615, allocations: 7.938 kB / 0.9559 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.8616, allocations: 3.938 kB / 0.9559 GB, free: 6.359 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.0004842/0.862, allocations: 398.8 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8621, allocations: 10.09 kB / 0.9563 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.8621, allocations: 42.55 kB / 0.9563 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.482e-05/0.8622, allocations: 2.812 kB / 0.9563 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.632e-05/0.8623, allocations: 170.1 kB / 0.9565 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8623, allocations: 1.375 kB / 0.9565 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.8623, allocations: 3.094 kB / 0.9565 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.8626, allocations: 89.67 kB / 0.9566 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8626, allocations: 0.875 kB / 0.9566 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8626, allocations: 3.953 kB / 0.9566 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.8626, allocations: 1.062 kB / 0.9566 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.8629, allocations: 93.36 kB / 0.9567 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.8633, allocations: 279.4 kB / 0.9569 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.8635, allocations: 66.19 kB / 0.957 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.8637, allocations: 94.16 kB / 0.9571 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.8637, allocations: 35.78 kB / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8637, allocations: 0 / 0.9571 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005842/0.8643, allocations: 167.9 kB / 0.9573 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.8644, allocations: 52.59 kB / 0.9573 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.8644, allocations: 118.8 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.8645, allocations: 26.83 kB / 0.9575 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.8645, allocations: 89.69 kB / 0.9576 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.8645, allocations: 9.344 kB / 0.9576 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.8645, allocations: 1.438 kB / 0.9576 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.8646, allocations: 316.2 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.8647, allocations: 43.64 kB / 0.9579 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.8649, allocations: 46.53 kB / 0.958 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.865, allocations: 46.64 kB / 0.958 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.865, allocations: 0 / 0.958 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003322/0.8654, allocations: 126.2 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.8654, allocations: 5.906 kB / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.8654, allocations: 0 / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8654, allocations: 0 / 0.9581 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.8656, allocations: 19.92 kB / 0.9582 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8656, allocations: 7.969 kB / 0.9582 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.8657, allocations: 21.36 kB / 0.9582 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.8657, allocations: 336 / 0.9582 GB, free: 4.262 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.298e-05/0.8658, allocations: 119.7 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.8658, allocations: 11.7 kB / 0.9583 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/0.8662, allocations: 135.8 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8662, allocations: 0 / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.8662, allocations: 1.531 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8662, allocations: 0 / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.8663, allocations: 177.8 kB / 0.9586 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8663, allocations: 1.312 kB / 0.9586 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.173e-05/0.8664, allocations: 18.52 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.8664, allocations: 1.406 kB / 0.9586 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.8665, allocations: 3.953 kB / 0.9586 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8665, allocations: 5.359 kB / 0.9586 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8665, allocations: 0 / 0.9586 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.8668, allocations: 224.3 kB / 0.9589 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.8669, allocations: 78.61 kB / 0.9589 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.8669, allocations: 5.469 kB / 0.9589 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.867, allocations: 26.55 kB / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.867, allocations: 1.688 kB / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.8671, allocations: 1.875 kB / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.8671, allocations: 100.8 kB / 0.9591 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8671, allocations: 0 / 0.9591 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000287/0.8674, allocations: 31.28 kB / 0.9591 GB, free: 3.426 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.0006377/0.868, allocations: 0.7774 MB / 0.9598 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.8684, allocations: 89.67 kB / 0.9599 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8684, allocations: 0 / 0.9599 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.8686, allocations: 50.2 kB / 0.96 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.8688, allocations: 13.45 kB / 0.96 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.8699, allocations: 0.5716 MB / 0.9605 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.87, allocations: 0.6904 MB / 0.9612 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.8701, allocations: 2.75 kB / 0.9612 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.8701, allocations: 18.14 kB / 0.9612 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8701, allocations: 0 / 0.9612 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.8842, allocations: 2.072 MB / 0.9633 GB, free: 496 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.8846, allocations: 175.9 kB / 0.9634 GB, free: 256 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.601, allocations: 3.938 kB / 0.9634 GB, free: 252 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