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.297/2.297, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001051/0.001051, allocations: 188.6 kB / 487.4 MB, free: 5.016 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.622/1.622, allocations: 221.5 MB / 0.7824 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 103.8 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.904e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.269, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.972/1.241, allocations: 175.7 MB / 1.378 GB, free: 17.99 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.241, allocations: 76.17 kB / 1.378 GB, free: 17.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005608/1.247, allocations: 2.176 MB / 1.38 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.247, allocations: 0 / 1.38 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.321e-06/1.247, allocations: 0 / 1.38 GB, free: 33.54 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.0003875/1.247, allocations: 375.4 kB / 1.38 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.247, allocations: 7.844 kB / 1.38 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/1.247, allocations: 7.797 kB / 1.38 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/1.248, allocations: 166.9 kB / 1.38 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/1.248, allocations: 0 / 1.38 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/1.248, allocations: 3.812 kB / 1.38 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.902e-05/1.248, allocations: 23.94 kB / 1.38 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/1.248, allocations: 50.14 kB / 1.38 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/1.248, allocations: 0 / 1.38 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/1.248, allocations: 0 / 1.38 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/1.248, allocations: 3.953 kB / 1.38 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/1.248, allocations: 254.3 kB / 1.381 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.198e-05/1.248, allocations: 29.73 kB / 1.381 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/1.248, allocations: 15.92 kB / 1.381 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/1.248, allocations: 90.3 kB / 1.381 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/1.248, allocations: 37.75 kB / 1.381 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.248, allocations: 0 / 1.381 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001825/1.249, allocations: 63.56 kB / 1.381 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/1.249, allocations: 51.41 kB / 1.381 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/1.249, allocations: 107 kB / 1.381 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1.249, allocations: 29.55 kB / 1.381 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/1.249, allocations: 91.33 kB / 1.381 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/1.249, allocations: 3.906 kB / 1.381 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/1.249, allocations: 3.812 kB / 1.381 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.249, allocations: 317.4 kB / 1.381 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/1.249, allocations: 7 kB / 1.381 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/1.249, allocations: 7.438 kB / 1.381 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/1.249, allocations: 18.02 kB / 1.382 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/1.249, allocations: 3.938 kB / 1.382 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.032e-05/1.249, allocations: 54.77 kB / 1.382 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.249, allocations: 7.625 kB / 1.382 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/1.249, allocations: 0 / 1.382 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/1.249, allocations: 2.812 kB / 1.382 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/1.249, allocations: 22.27 kB / 1.382 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/1.249, allocations: 3.141 kB / 1.382 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/1.249, allocations: 19.75 kB / 1.382 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/1.249, allocations: 0 / 1.382 GB, free: 31.84 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 6.103e-05/1.249, allocations: 106.1 kB / 1.382 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001018/1.25, allocations: 62.34 kB / 1.382 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/1.25, allocations: 0 / 1.382 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/1.25, allocations: 62.61 kB / 1.382 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/1.25, allocations: 7.844 kB / 1.382 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/1.25, allocations: 0 / 1.382 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/1.25, allocations: 0 / 1.382 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/1.25, allocations: 151 kB / 1.382 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.25, allocations: 0.875 kB / 1.382 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/1.25, allocations: 20.56 kB / 1.382 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.25, allocations: 0 / 1.382 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/1.25, allocations: 3.938 kB / 1.382 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.25, allocations: 0 / 1.382 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.25, allocations: 7.953 kB / 1.382 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/1.25, allocations: 157.4 kB / 1.382 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/1.25, allocations: 83.41 kB / 1.382 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/1.25, allocations: 0 / 1.382 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/1.25, allocations: 17.09 kB / 1.382 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/1.25, allocations: 14.83 kB / 1.382 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/1.25, allocations: 0 / 1.382 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.136e-05/1.25, allocations: 90.81 kB / 1.382 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.25, allocations: 0 / 1.382 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002087/1.251, allocations: 18.03 kB / 1.382 GB, free: 31.16 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.0004527/1.251, allocations: 0.7302 MB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.061e-05/1.251, allocations: 21.81 kB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.251, allocations: 3.844 kB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/1.251, allocations: 10.44 kB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/1.251, allocations: 11.67 kB / 1.383 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/1.252, allocations: 108.5 kB / 1.383 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/1.252, allocations: 0.6916 MB / 1.384 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.226e-05/1.252, allocations: 0 / 1.384 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/1.252, allocations: 17.19 kB / 1.384 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.252, allocations: 0 / 1.384 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/1.272, allocations: 1.521 MB / 1.385 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.272, allocations: 155.8 kB / 1.386 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.734, allocations: 2.25 kB / 1.386 GB, free: 29.36 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