Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_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.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_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.073/2.073, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.00106/0.00106, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.29/1.29, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008429/0.0008429, allocations: 95.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.773e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2025, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7548/0.9573, allocations: 176.4 MB / 1.385 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.9575, allocations: 71.25 kB / 1.385 GB, free: 18.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004902/0.9625, allocations: 2.198 MB / 1.387 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9625, allocations: 0 / 1.387 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9625, allocations: 0 / 1.387 GB, free: 34.24 MB / 0.8386 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.0002982/0.9628, allocations: 373.1 kB / 1.387 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.9628, allocations: 11.84 kB / 1.387 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.725e-05/0.9629, allocations: 37.69 kB / 1.387 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.9629, allocations: 4.641 kB / 1.387 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.647e-05/0.963, allocations: 174.5 kB / 1.388 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.963, allocations: 7.828 kB / 1.388 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.963, allocations: 3.5 kB / 1.388 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.9631, allocations: 52.56 kB / 1.388 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.9631, allocations: 0 / 1.388 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.9631, allocations: 3.875 kB / 1.388 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.9631, allocations: 0 / 1.388 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.9632, allocations: 27.17 kB / 1.388 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.9635, allocations: 284.7 kB / 1.388 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/0.9635, allocations: 32.23 kB / 1.388 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.9636, allocations: 16.2 kB / 1.388 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.9637, allocations: 92.91 kB / 1.388 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.9637, allocations: 34.52 kB / 1.388 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9637, allocations: 0 / 1.388 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001285/0.9638, allocations: 56.83 kB / 1.388 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.9639, allocations: 55.39 kB / 1.388 GB, free: 33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.9639, allocations: 106.5 kB / 1.388 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.9639, allocations: 27.23 kB / 1.388 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.339e-05/0.964, allocations: 91.62 kB / 1.388 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.964, allocations: 14.97 kB / 1.388 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.964, allocations: 0 / 1.388 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.9641, allocations: 318 kB / 1.389 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.9641, allocations: 7.188 kB / 1.389 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.9641, allocations: 11.5 kB / 1.389 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.105e-05/0.9641, allocations: 7.797 kB / 1.389 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.9641, allocations: 0 / 1.389 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.368e-05/0.9642, allocations: 58.52 kB / 1.389 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.9642, allocations: 8.875 kB / 1.389 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9643, allocations: 7.953 kB / 1.389 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.9643, allocations: 3.984 kB / 1.389 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.9644, allocations: 19.83 kB / 1.389 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.9644, allocations: 1.422 kB / 1.389 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.9645, allocations: 15.98 kB / 1.389 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.9645, allocations: 4 kB / 1.389 GB, free: 32.38 MB / 0.8386 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 (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 4.813e-05/0.9646, allocations: 102.2 kB / 1.389 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.9646, allocations: 7.906 kB / 1.389 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.9647, allocations: 72.25 kB / 1.389 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9647, allocations: 3.953 kB / 1.389 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.9647, allocations: 0 / 1.389 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.9647, allocations: 0 / 1.389 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.9648, allocations: 172.3 kB / 1.389 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9648, allocations: 4 kB / 1.389 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.9649, allocations: 23.53 kB / 1.389 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.965, allocations: 0 / 1.389 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.965, allocations: 7.938 kB / 1.389 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.965, allocations: 0 / 1.389 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.965, allocations: 3.953 kB / 1.389 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.928e-05/0.9651, allocations: 150 kB / 1.389 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.9651, allocations: 85.09 kB / 1.389 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.9651, allocations: 7.938 kB / 1.389 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.9652, allocations: 15.98 kB / 1.389 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.9653, allocations: 3.953 kB / 1.389 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.9653, allocations: 3.984 kB / 1.389 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.9653, allocations: 94.91 kB / 1.39 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9653, allocations: 0 / 1.39 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001904/0.9655, allocations: 23.25 kB / 1.39 GB, free: 31.56 MB / 0.8386 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 (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.0003423/0.9659, allocations: 0.7164 MB / 1.39 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.838e-05/0.966, allocations: 22.44 kB / 1.39 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.966, allocations: 3.938 kB / 1.39 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.966, allocations: 11.06 kB / 1.39 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.9662, allocations: 20.97 kB / 1.39 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.9664, allocations: 118 kB / 1.39 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.9667, allocations: 0.6848 MB / 1.391 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.9667, allocations: 4 kB / 1.391 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.9667, allocations: 14.25 kB / 1.391 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.9668, allocations: 4 kB / 1.391 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.9778, allocations: 2.354 MB / 1.393 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.978, allocations: 163 kB / 1.394 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.496, allocations: 3.938 kB / 1.394 GB, free: 27.47 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat