Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.199/2.199, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001179/0.001179, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.478/1.478, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.0009155/0.0009155, allocations: 103.8 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.128e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9773/1.282, allocations: 149 MB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.282, allocations: 74.55 kB / 1.352 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003682/1.286, allocations: 0.989 MB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.444e-06/1.286, allocations: 0.7031 kB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.893e-06/1.286, allocations: 0 / 1.353 GB, free: 33.75 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.0003333/1.286, allocations: 348.7 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.286, allocations: 11.69 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/1.286, allocations: 2.234 kB / 1.353 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/1.286, allocations: 175.6 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/1.286, allocations: 0 / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/1.286, allocations: 0 / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.047e-05/1.287, allocations: 12.25 kB / 1.353 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/1.287, allocations: 32.81 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/1.287, allocations: 4 kB / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/1.287, allocations: 0 / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/1.287, allocations: 0 / 1.353 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/1.287, allocations: 228.5 kB / 1.353 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/1.287, allocations: 34.05 kB / 1.353 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/1.287, allocations: 8.766 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/1.287, allocations: 4.562 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/1.287, allocations: 34.5 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.287, allocations: 0 / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/1.287, allocations: 35.45 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/1.287, allocations: 51.41 kB / 1.353 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/1.287, allocations: 93.19 kB / 1.354 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/1.287, allocations: 25.7 kB / 1.354 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/1.287, allocations: 96.06 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/1.287, allocations: 4.703 kB / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.287, allocations: 0 / 1.354 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.288, allocations: 315.5 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/1.288, allocations: 11.72 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/1.288, allocations: 6.047 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/1.288, allocations: 3.719 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.288, allocations: 3.844 kB / 1.354 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.933e-05/1.288, allocations: 38.97 kB / 1.354 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.288, allocations: 7.875 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.288, allocations: 0 / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.288, allocations: 4.594 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/1.288, allocations: 10.56 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/1.288, allocations: 0 / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/1.288, allocations: 10.09 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.288, allocations: 0.6094 kB / 1.354 GB, free: 32.17 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.722e-05/1.288, allocations: 108.9 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.218e-05/1.288, allocations: 49.44 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/1.288, allocations: 3.844 kB / 1.354 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/1.288, allocations: 49.67 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/1.288, allocations: 5.156 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.288, allocations: 4.688 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.288, allocations: 0 / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/1.288, allocations: 139.3 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.288, allocations: 4.031 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/1.289, allocations: 14.44 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.289, allocations: 0.7031 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/1.289, allocations: 0 / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.289, allocations: 2.812 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.289, allocations: 4.641 kB / 1.354 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/1.289, allocations: 137.5 kB / 1.355 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/1.289, allocations: 89.64 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.289, allocations: 4.734 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/1.289, allocations: 9.453 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/1.289, allocations: 5.797 kB / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/1.289, allocations: 0 / 1.355 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.985e-05/1.289, allocations: 79.92 kB / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.289, allocations: 0 / 1.355 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001958/1.289, allocations: 3.844 kB / 1.355 GB, free: 31.5 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.0003301/1.289, allocations: 0.6805 MB / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.387e-05/1.29, allocations: 12.78 kB / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.29, allocations: 0 / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/1.29, allocations: 14.8 kB / 1.355 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.0001827/1.29, allocations: 2.078 kB / 1.355 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/1.29, allocations: 89.62 kB / 1.356 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/1.29, allocations: 0.6809 MB / 1.356 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.101e-05/1.29, allocations: 0.7969 kB / 1.356 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/1.29, allocations: 10.69 kB / 1.356 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.29, allocations: 3.875 kB / 1.356 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/1.308, allocations: 0.7726 MB / 1.357 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/1.308, allocations: 163.5 kB / 1.357 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.763, allocations: 0 / 1.357 GB, free: 29.77 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.mat does not exist to compare? outputFormat=mat