Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_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 1.897/1.897, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.0009238/0.0009238, allocations: 180.9 kB / 492.3 MB, free: 0.6055 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.223/1.223, allocations: 221.3 MB / 0.7872 GB, free: 12.84 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.00076/0.0007601, allocations: 94.89 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.952e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1812, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6757/0.857, allocations: 175.8 MB / 1.384 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.8572, allocations: 78.91 kB / 1.384 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003492/0.8607, allocations: 1.666 MB / 1.386 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8607, allocations: 0 / 1.386 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.8607, allocations: 0 / 1.386 GB, free: 34.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001864/0.8609, allocations: 321.9 kB / 1.386 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.861, allocations: 11.72 kB / 1.386 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.504e-05/0.861, allocations: 33.88 kB / 1.386 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.861, allocations: 4.734 kB / 1.386 GB, free: 34.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.873e-05/0.8611, allocations: 175 kB / 1.386 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.8612, allocations: 29.69 kB / 1.386 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.8612, allocations: 3.781 kB / 1.386 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.002e-05/0.8612, allocations: 33.2 kB / 1.386 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.8613, allocations: 0 / 1.386 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.8613, allocations: 0 / 1.386 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.8613, allocations: 3.953 kB / 1.386 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.8613, allocations: 7.797 kB / 1.386 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.805e-05/0.8614, allocations: 156.3 kB / 1.387 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.934e-05/0.8615, allocations: 45.61 kB / 1.387 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.8615, allocations: 4.859 kB / 1.387 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.8616, allocations: 92.75 kB / 1.387 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.8616, allocations: 33.69 kB / 1.387 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.8617, allocations: 0 / 1.387 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 9.741e-05/0.8618, allocations: 40.61 kB / 1.387 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.8618, allocations: 55.41 kB / 1.387 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.622e-05/0.8618, allocations: 100.9 kB / 1.387 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.8618, allocations: 25.7 kB / 1.387 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.8618, allocations: 80.14 kB / 1.387 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.8619, allocations: 7.719 kB / 1.387 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.8619, allocations: 0 / 1.387 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.8619, allocations: 314.8 kB / 1.387 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.8619, allocations: 5.453 kB / 1.387 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.862, allocations: 11.31 kB / 1.387 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.57e-05/0.862, allocations: 7.859 kB / 1.387 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.862, allocations: 0 / 1.387 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.603e-05/0.8621, allocations: 40.67 kB / 1.387 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.8621, allocations: 4.906 kB / 1.387 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8621, allocations: 1.938 kB / 1.387 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.8621, allocations: 0 / 1.387 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.8622, allocations: 11.77 kB / 1.387 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.8622, allocations: 0 / 1.387 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.783e-05/0.8622, allocations: 0 / 1.387 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.8622, allocations: 8.578 kB / 1.387 GB, free: 32.91 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.449e-05/0.8623, allocations: 113.7 kB / 1.388 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.8623, allocations: 3.906 kB / 1.388 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.484e-05/0.8624, allocations: 52.61 kB / 1.388 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8624, allocations: 1.312 kB / 1.388 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.8624, allocations: 0 / 1.388 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.8624, allocations: 0 / 1.388 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.646e-05/0.8625, allocations: 157 kB / 1.388 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8625, allocations: 0 / 1.388 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.8625, allocations: 11.66 kB / 1.388 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8625, allocations: 0 / 1.388 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.8625, allocations: 0.75 kB / 1.388 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8625, allocations: 0 / 1.388 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8625, allocations: 0 / 1.388 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.156e-05/0.8626, allocations: 75.7 kB / 1.388 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.8626, allocations: 84.97 kB / 1.388 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.8627, allocations: 3.938 kB / 1.388 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.765e-05/0.8627, allocations: 8 kB / 1.388 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.8627, allocations: 7.75 kB / 1.388 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.8627, allocations: 0 / 1.388 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.495e-05/0.8628, allocations: 83.39 kB / 1.388 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8628, allocations: 0 / 1.388 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001638/0.8629, allocations: 15.64 kB / 1.388 GB, free: 32.28 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.0003071/0.8633, allocations: 0.6565 MB / 1.389 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.743e-05/0.8633, allocations: 14.06 kB / 1.389 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8633, allocations: 0 / 1.389 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.8633, allocations: 10.06 kB / 1.389 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000113/0.8635, allocations: 0 / 1.389 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002064/0.8637, allocations: 94.11 kB / 1.389 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.8639, allocations: 0.6846 MB / 1.389 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.645e-05/0.8639, allocations: 3.984 kB / 1.389 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.8639, allocations: 11.28 kB / 1.39 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.8639, allocations: 0 / 1.39 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.8745, allocations: 1.787 MB / 1.391 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001133/0.8747, allocations: 176 kB / 1.391 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.394/2.269, allocations: 4 kB / 1.391 GB, free: 29.37 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX_res.mat does not exist to compare? outputFormat=mat