Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.348/2.348, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001594/0.001595, allocations: 172.9 kB / 492.3 MB, free: 0.5859 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.882/1.882, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.001103/0.001103, allocations: 105.8 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.224e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3315, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.474, allocations: 389.1 MB / 1.592 GB, free: 8.969 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/1.474, allocations: 73.5 kB / 1.592 GB, free: 8.934 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.02781/1.502, allocations: 13.26 MB / 1.605 GB, free: 14.48 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.033e-06/1.502, allocations: 3.938 kB / 1.605 GB, free: 14.48 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.502, allocations: 0 / 1.605 GB, free: 14.48 MB / 1.026 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.0003624/1.502, allocations: 334.1 kB / 1.606 GB, free: 14.11 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.503, allocations: 8.031 kB / 1.606 GB, free: 14.1 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/1.503, allocations: 38.55 kB / 1.606 GB, free: 14.05 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/1.503, allocations: 3.953 kB / 1.606 GB, free: 14.05 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.503, allocations: 163.8 kB / 1.606 GB, free: 13.85 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/1.503, allocations: 33.7 kB / 1.606 GB, free: 13.81 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/1.503, allocations: 0 / 1.606 GB, free: 13.81 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/1.503, allocations: 49.34 kB / 1.606 GB, free: 13.76 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.503, allocations: 0 / 1.606 GB, free: 13.76 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/1.503, allocations: 0 / 1.606 GB, free: 13.76 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/1.503, allocations: 0 / 1.606 GB, free: 13.76 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.157e-05/1.503, allocations: 15.55 kB / 1.606 GB, free: 13.75 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/1.504, allocations: 340.2 kB / 1.606 GB, free: 13.36 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 4.193e-05/1.504, allocations: 22.55 kB / 1.606 GB, free: 13.32 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/1.504, allocations: 12.36 kB / 1.606 GB, free: 13.31 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 9.441e-05/1.504, allocations: 81.11 kB / 1.607 GB, free: 13.21 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.504, allocations: 30.56 kB / 1.607 GB, free: 13.18 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.504, allocations: 0 / 1.607 GB, free: 13.18 MB / 1.026 GB Notification: Performance of matching and sorting (n=1): time 0.0001699/1.504, allocations: 45.58 kB / 1.607 GB, free: 13.12 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/1.504, allocations: 59.38 kB / 1.607 GB, free: 13.05 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.982e-05/1.504, allocations: 92.31 kB / 1.607 GB, free: 12.96 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.504, allocations: 25.7 kB / 1.607 GB, free: 12.93 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/1.504, allocations: 88.05 kB / 1.607 GB, free: 12.84 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/1.504, allocations: 3.375 kB / 1.607 GB, free: 12.84 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/1.504, allocations: 0 / 1.607 GB, free: 12.84 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.505, allocations: 314.8 kB / 1.607 GB, free: 12.52 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/1.505, allocations: 4 kB / 1.607 GB, free: 12.52 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/1.505, allocations: 20.78 kB / 1.607 GB, free: 12.5 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/1.505, allocations: 4 kB / 1.607 GB, free: 12.49 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.505, allocations: 0 / 1.607 GB, free: 12.49 MB / 1.026 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.897e-05/1.505, allocations: 49.06 kB / 1.607 GB, free: 12.44 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.505, allocations: 11.94 kB / 1.607 GB, free: 12.43 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.505, allocations: 0 / 1.607 GB, free: 12.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.505, allocations: 0 / 1.607 GB, free: 12.43 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/1.505, allocations: 12.05 kB / 1.607 GB, free: 12.42 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.505, allocations: 3.953 kB / 1.607 GB, free: 12.41 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/1.505, allocations: 11.91 kB / 1.607 GB, free: 12.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/1.505, allocations: 0 / 1.607 GB, free: 12.4 MB / 1.026 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 8.404e-05/1.505, allocations: 103.5 kB / 1.607 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/1.505, allocations: 4 kB / 1.607 GB, free: 12.29 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/1.505, allocations: 120.3 kB / 1.607 GB, free: 12.17 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.479e-05/1.505, allocations: 184.2 kB / 1.608 GB, free: 11.98 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.579e-05/1.505, allocations: 180.2 kB / 1.608 GB, free: 11.8 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.048e-05/1.506, allocations: 183.7 kB / 1.608 GB, free: 11.62 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/1.506, allocations: 401.2 kB / 1.608 GB, free: 11.17 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.163e-05/1.506, allocations: 107.6 kB / 1.608 GB, free: 11.06 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/1.506, allocations: 105 kB / 1.609 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-05/1.506, allocations: 184.2 kB / 1.609 GB, free: 10.76 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/1.506, allocations: 180.2 kB / 1.609 GB, free: 10.58 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.809e-05/1.506, allocations: 180.3 kB / 1.609 GB, free: 10.39 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.23e-05/1.506, allocations: 187.5 kB / 1.609 GB, free: 10.21 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/1.506, allocations: 311.7 kB / 1.61 GB, free: 9.879 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/1.506, allocations: 182 kB / 1.61 GB, free: 9.68 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.636e-05/1.507, allocations: 180.3 kB / 1.61 GB, free: 9.496 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/1.507, allocations: 109.2 kB / 1.61 GB, free: 9.383 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/1.507, allocations: 180.3 kB / 1.61 GB, free: 9.199 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/1.507, allocations: 108.9 kB / 1.61 GB, free: 9.086 MB / 1.026 GB Notification: Performance of sorting global known variables: time 4.787e-05/1.507, allocations: 81.97 kB / 1.61 GB, free: 9.008 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.41e-07/1.507, allocations: 0 / 1.61 GB, free: 9.008 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002627/1.507, allocations: 18.94 kB / 1.61 GB, free: 8.992 MB / 1.026 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.0006064/1.508, allocations: 0.851 MB / 1.611 GB, free: 8.113 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 7.466e-05/1.508, allocations: 13.69 kB / 1.611 GB, free: 8.102 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.508, allocations: 0 / 1.611 GB, free: 8.102 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-06/1.508, allocations: 4.109 kB / 1.611 GB, free: 8.098 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/1.508, allocations: 0.5234 MB / 1.612 GB, free: 7.574 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/1.509, allocations: 162.4 kB / 1.612 GB, free: 7.379 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/1.509, allocations: 0.677 MB / 1.613 GB, free: 6.676 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 5.516e-05/1.509, allocations: 11.94 kB / 1.613 GB, free: 6.664 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/1.509, allocations: 15.38 kB / 1.613 GB, free: 6.652 MB / 1.026 GB Notification: Performance of SimCode: time 2.5e-07/1.509, allocations: 0 / 1.613 GB, free: 6.652 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/1.524, allocations: 1.635 MB / 1.614 GB, free: 5.148 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.525, allocations: 160 kB / 1.614 GB, free: 4.926 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/3.079, allocations: 0 / 1.614 GB, free: 4.926 MB / 1.026 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat