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 2.297/2.297, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001121/0.001121, allocations: 188.8 kB / 487.4 MB, free: 5.02 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.556/1.556, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.001084/0.001084, allocations: 95.84 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.278e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3011, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.307, allocations: 175.1 MB / 1.377 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/1.307, allocations: 76.73 kB / 1.377 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00374/1.311, allocations: 1.642 MB / 1.379 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.311, allocations: 0 / 1.379 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.174e-06/1.311, allocations: 0 / 1.379 GB, free: 33.67 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.000257/1.311, allocations: 330.9 kB / 1.379 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.312, allocations: 7.719 kB / 1.379 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/1.312, allocations: 8.641 kB / 1.379 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/1.312, allocations: 163 kB / 1.379 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/1.312, allocations: 32.38 kB / 1.379 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/1.312, allocations: 0 / 1.379 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.016e-05/1.312, allocations: 7.719 kB / 1.379 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.086e-05/1.312, allocations: 36.48 kB / 1.379 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/1.312, allocations: 0 / 1.379 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/1.312, allocations: 0 / 1.379 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.312, allocations: 11.92 kB / 1.379 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001167/1.312, allocations: 132.2 kB / 1.379 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.973e-05/1.312, allocations: 25.86 kB / 1.379 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/1.312, allocations: 8.703 kB / 1.379 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/1.312, allocations: 87.89 kB / 1.38 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/1.312, allocations: 38.5 kB / 1.38 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/1.312, allocations: 3.844 kB / 1.38 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001622/1.312, allocations: 43.17 kB / 1.38 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/1.312, allocations: 51.41 kB / 1.38 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.952e-05/1.313, allocations: 92.22 kB / 1.38 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/1.313, allocations: 25.7 kB / 1.38 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.458e-05/1.313, allocations: 80.14 kB / 1.38 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/1.313, allocations: 10.89 kB / 1.38 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.313, allocations: 0 / 1.38 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/1.313, allocations: 323.3 kB / 1.38 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/1.313, allocations: 3.844 kB / 1.38 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/1.313, allocations: 0 / 1.38 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.272e-05/1.313, allocations: 14.88 kB / 1.38 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/1.313, allocations: 0 / 1.38 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.553e-05/1.313, allocations: 40.39 kB / 1.38 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/1.313, allocations: 3.875 kB / 1.38 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.313, allocations: 0.7031 kB / 1.38 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.313, allocations: 384 / 1.38 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.048e-05/1.313, allocations: 18.58 kB / 1.38 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/1.313, allocations: 3.938 kB / 1.38 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/1.313, allocations: 3.438 kB / 1.38 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.313, allocations: 0 / 1.38 GB, free: 32.05 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 5.88e-05/1.313, allocations: 108.8 kB / 1.38 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.972e-05/1.313, allocations: 51.39 kB / 1.38 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/1.313, allocations: 0 / 1.38 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/1.313, allocations: 62.36 kB / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.313, allocations: 1.422 kB / 1.381 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.313, allocations: 5.438 kB / 1.381 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.313, allocations: 3.656 kB / 1.381 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.776e-05/1.313, allocations: 133.4 kB / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.313, allocations: 3.344 kB / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/1.313, allocations: 3.875 kB / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.313, allocations: 0 / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/1.313, allocations: 0 / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.313, allocations: 0 / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.313, allocations: 0 / 1.381 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.609e-05/1.314, allocations: 82.36 kB / 1.381 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/1.314, allocations: 82.45 kB / 1.381 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/1.314, allocations: 0 / 1.381 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/1.314, allocations: 9.969 kB / 1.381 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/1.314, allocations: 0 / 1.381 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/1.314, allocations: 1.781 kB / 1.381 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.207e-05/1.314, allocations: 83.09 kB / 1.381 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.314, allocations: 0 / 1.381 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001866/1.314, allocations: 14.69 kB / 1.381 GB, free: 31.43 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.0004241/1.314, allocations: 0.6419 MB / 1.382 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.993e-05/1.314, allocations: 18.77 kB / 1.382 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.314, allocations: 0 / 1.382 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/1.315, allocations: 11.25 kB / 1.382 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/1.315, allocations: 7.906 kB / 1.382 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/1.315, allocations: 90.58 kB / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/1.315, allocations: 0.6758 MB / 1.382 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.893e-05/1.315, allocations: 3.719 kB / 1.382 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/1.315, allocations: 11.44 kB / 1.382 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.315, allocations: 0 / 1.382 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/1.333, allocations: 1.099 MB / 1.383 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/1.333, allocations: 159.9 kB / 1.384 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.892, allocations: 3.938 kB / 1.384 GB, free: 29.73 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