Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.035/2.035, allocations: 390.5 MB / 398 MB, free: 10.89 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.0009497/0.0009497, allocations: 184.8 kB / 491.2 MB, free: 1.531 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.274/1.274, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.0008677/0.0008679, allocations: 107.5 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.849e-05/1.857e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.205, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6947/0.8997, allocations: 149.8 MB / 1.359 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.9, allocations: 75.23 kB / 1.359 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002942/0.9029, allocations: 0.9888 MB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9029, allocations: 0 / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.9029, allocations: 0 / 1.36 GB, free: 32.94 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.0002805/0.9032, allocations: 337.6 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.9033, allocations: 10 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.9034, allocations: 5.422 kB / 1.36 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.824e-05/0.9035, allocations: 166.7 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.9035, allocations: 4 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.9035, allocations: 3.344 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.104e-05/0.9036, allocations: 12.31 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.531e-05/0.9036, allocations: 37.55 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.9036, allocations: 0 / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.9036, allocations: 0 / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.9037, allocations: 0 / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.9039, allocations: 239.3 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.168e-05/0.904, allocations: 29.53 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.904, allocations: 8.734 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.904, allocations: 3.938 kB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.904, allocations: 31.64 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.904, allocations: 3.875 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001254/0.9042, allocations: 36.86 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.9042, allocations: 58.38 kB / 1.361 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.506e-05/0.9043, allocations: 91.5 kB / 1.361 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.9043, allocations: 29.05 kB / 1.361 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.9043, allocations: 88.53 kB / 1.361 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.9043, allocations: 8.594 kB / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.9043, allocations: 0 / 1.361 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/0.9044, allocations: 318.8 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.9045, allocations: 3.938 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.9045, allocations: 3.672 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.742e-05/0.9045, allocations: 12.17 kB / 1.361 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9045, allocations: 0 / 1.361 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.201e-05/0.9046, allocations: 41.94 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.9046, allocations: 4.688 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.9046, allocations: 3.344 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.9046, allocations: 0.6094 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.9047, allocations: 13.73 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.9047, allocations: 0.6562 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.9048, allocations: 13.64 kB / 1.361 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.9048, allocations: 0.6094 kB / 1.361 GB, free: 31.36 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 (2): * Single equations (assignments): 2 * 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.173e-05/0.9049, allocations: 105.8 kB / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.337e-05/0.9049, allocations: 46.64 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.905, allocations: 0.75 kB / 1.361 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.228e-05/0.9051, allocations: 53.55 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.9051, allocations: 5.766 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.9051, allocations: 0 / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.9051, allocations: 0 / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.939e-05/0.9052, allocations: 137.8 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9052, allocations: 7.781 kB / 1.362 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.858e-05/0.9053, allocations: 10.33 kB / 1.362 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9053, allocations: 0 / 1.362 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.9053, allocations: 5.75 kB / 1.362 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9053, allocations: 3.406 kB / 1.362 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9053, allocations: 4 kB / 1.362 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.65e-05/0.9054, allocations: 143.2 kB / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.9054, allocations: 82.28 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.9055, allocations: 4.938 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.9056, allocations: 6.516 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.9056, allocations: 5.156 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.9056, allocations: 1.5 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.9056, allocations: 82.97 kB / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9056, allocations: 0 / 1.362 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002091/0.9059, allocations: 3.844 kB / 1.362 GB, free: 30.7 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.0003297/0.9062, allocations: 0.6721 MB / 1.363 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.9063, allocations: 21.05 kB / 1.363 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9063, allocations: 0 / 1.363 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.081e-05/0.9063, allocations: 15.45 kB / 1.363 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.9065, allocations: 3.938 kB / 1.363 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.9068, allocations: 90.72 kB / 1.363 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.907, allocations: 0.6796 MB / 1.363 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.907, allocations: 5.797 kB / 1.363 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.9071, allocations: 14.72 kB / 1.363 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/0.9071, allocations: 0 / 1.363 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.9246, allocations: 0.7595 MB / 1.364 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/0.9248, allocations: 164.5 kB / 1.364 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.282/2.207, allocations: 11.91 kB / 1.364 GB, free: 28.96 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat