Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.294/2.294, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001461/0.001461, allocations: 180.2 kB / 492.3 MB, free: 0.6328 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.605/1.605, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0009305/0.0009307, allocations: 87.89 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.587e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3112, allocations: 142.4 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.513, allocations: 435.1 MB / 1.637 GB, free: 12.54 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.513, allocations: 71.38 kB / 1.637 GB, free: 12.5 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.04254/1.555, allocations: 19.05 MB / 1.656 GB, free: 12.92 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.242e-06/1.555, allocations: 4 kB / 1.656 GB, free: 12.91 MB / 1.073 GB Notification: Performance of Transformations before backend: time 8.186e-06/1.555, allocations: 0 / 1.656 GB, free: 12.91 MB / 1.073 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.000426/1.556, allocations: 358.2 kB / 1.656 GB, free: 12.52 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.556, allocations: 8.031 kB / 1.656 GB, free: 12.52 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/1.556, allocations: 34.55 kB / 1.656 GB, free: 12.47 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/1.556, allocations: 4.781 kB / 1.656 GB, free: 12.47 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/1.556, allocations: 166.9 kB / 1.657 GB, free: 12.27 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/1.556, allocations: 29.7 kB / 1.657 GB, free: 12.23 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/1.556, allocations: 0 / 1.657 GB, free: 12.23 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/1.556, allocations: 41.56 kB / 1.657 GB, free: 12.19 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/1.556, allocations: 0 / 1.657 GB, free: 12.19 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.557, allocations: 7.984 kB / 1.657 GB, free: 12.18 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/1.557, allocations: 0 / 1.657 GB, free: 12.18 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/1.557, allocations: 11.94 kB / 1.657 GB, free: 12.17 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/1.557, allocations: 337.5 kB / 1.657 GB, free: 11.78 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.723e-05/1.557, allocations: 14.58 kB / 1.657 GB, free: 11.76 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/1.557, allocations: 8.922 kB / 1.657 GB, free: 11.75 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.554e-05/1.557, allocations: 93.08 kB / 1.657 GB, free: 11.64 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/1.557, allocations: 30.56 kB / 1.657 GB, free: 11.6 MB / 1.073 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/1.557, allocations: 0 / 1.657 GB, free: 11.6 MB / 1.073 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/1.557, allocations: 41.59 kB / 1.657 GB, free: 11.55 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/1.557, allocations: 51.41 kB / 1.657 GB, free: 11.49 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.817e-05/1.558, allocations: 92.19 kB / 1.657 GB, free: 11.39 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/1.558, allocations: 29.69 kB / 1.657 GB, free: 11.36 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/1.558, allocations: 91.67 kB / 1.657 GB, free: 11.27 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/1.558, allocations: 4.031 kB / 1.657 GB, free: 11.27 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/1.558, allocations: 3.938 kB / 1.657 GB, free: 11.26 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.558, allocations: 314.8 kB / 1.658 GB, free: 10.95 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/1.558, allocations: 4 kB / 1.658 GB, free: 10.94 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/1.558, allocations: 16.59 kB / 1.658 GB, free: 10.92 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/1.558, allocations: 7.984 kB / 1.658 GB, free: 10.91 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.558, allocations: 4 kB / 1.658 GB, free: 10.91 MB / 1.073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.794e-05/1.558, allocations: 52.34 kB / 1.658 GB, free: 10.86 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.558, allocations: 4 kB / 1.658 GB, free: 10.85 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.558, allocations: 4 kB / 1.658 GB, free: 10.85 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/1.558, allocations: 0 / 1.658 GB, free: 10.85 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.443e-05/1.558, allocations: 4 kB / 1.658 GB, free: 10.84 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.558, allocations: 3.953 kB / 1.658 GB, free: 10.84 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/1.558, allocations: 7.938 kB / 1.658 GB, free: 10.83 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.558, allocations: 3.875 kB / 1.658 GB, free: 10.83 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.884e-05/1.558, allocations: 109 kB / 1.658 GB, free: 10.72 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/1.558, allocations: 4 kB / 1.658 GB, free: 10.71 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/1.558, allocations: 119.2 kB / 1.658 GB, free: 10.59 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-05/1.558, allocations: 183.5 kB / 1.658 GB, free: 10.41 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.869e-05/1.559, allocations: 176.3 kB / 1.658 GB, free: 10.23 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.614e-05/1.559, allocations: 184.2 kB / 1.659 GB, free: 10.04 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/1.559, allocations: 412.6 kB / 1.659 GB, free: 9.586 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-05/1.559, allocations: 109 kB / 1.659 GB, free: 9.473 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/1.559, allocations: 104.9 kB / 1.659 GB, free: 9.363 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.797e-05/1.559, allocations: 180.3 kB / 1.659 GB, free: 9.18 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.365e-05/1.559, allocations: 176.3 kB / 1.66 GB, free: 9 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.177e-05/1.559, allocations: 187.7 kB / 1.66 GB, free: 8.812 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.345e-05/1.559, allocations: 184.2 kB / 1.66 GB, free: 8.625 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/1.559, allocations: 307.5 kB / 1.66 GB, free: 8.305 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/1.56, allocations: 186 kB / 1.66 GB, free: 8.098 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/1.56, allocations: 184.2 kB / 1.661 GB, free: 7.91 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.56, allocations: 105 kB / 1.661 GB, free: 7.801 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/1.56, allocations: 184.2 kB / 1.661 GB, free: 7.613 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/1.56, allocations: 104.8 kB / 1.661 GB, free: 7.508 MB / 1.073 GB Notification: Performance of sorting global known variables: time 4.734e-05/1.56, allocations: 83.27 kB / 1.661 GB, free: 7.426 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.3e-07/1.56, allocations: 0 / 1.661 GB, free: 7.426 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0003025/1.56, allocations: 23.75 kB / 1.661 GB, free: 7.406 MB / 1.073 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 (0): * Single equations (assignments): 0 * 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.0005867/1.561, allocations: 0.8694 MB / 1.662 GB, free: 6.516 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 6.538e-05/1.561, allocations: 12.06 kB / 1.662 GB, free: 6.504 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.561, allocations: 3.875 kB / 1.662 GB, free: 6.504 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/1.561, allocations: 0 / 1.662 GB, free: 6.504 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/1.561, allocations: 0.5235 MB / 1.662 GB, free: 5.977 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/1.562, allocations: 169.7 kB / 1.663 GB, free: 5.777 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/1.562, allocations: 0.681 MB / 1.663 GB, free: 5.07 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 4.863e-05/1.562, allocations: 10.23 kB / 1.663 GB, free: 5.062 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/1.562, allocations: 15.42 kB / 1.663 GB, free: 5.047 MB / 1.073 GB Notification: Performance of SimCode: time 2.31e-07/1.562, allocations: 0 / 1.663 GB, free: 5.047 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/1.576, allocations: 2.12 MB / 1.665 GB, free: 3.094 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.576, allocations: 179.1 kB / 1.666 GB, free: 2.867 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/3.104, allocations: 0 / 1.666 GB, free: 2.867 MB / 1.073 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat