Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.395/1.395, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 168.9 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000913/0.000913, allocations: 106 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.969e-05, allocations: 0 / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 106.4 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9584/1.173, allocations: 370.3 MB / 1.247 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/1.173, allocations: 71.06 kB / 1.247 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0239/1.197, allocations: 11.62 MB / 1.258 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/1.197, allocations: 0 / 1.258 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.281e-06/1.197, allocations: 0 / 1.258 GB, free: 6.383 MB / 0.8698 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.0003369/1.197, allocations: 336.8 kB / 1.259 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/1.197, allocations: 8.031 kB / 1.259 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.544e-05/1.198, allocations: 7.984 kB / 1.259 GB, free: 6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.198, allocations: 163 kB / 1.259 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/1.198, allocations: 33.64 kB / 1.259 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/1.198, allocations: 4 kB / 1.259 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.315e-05/1.198, allocations: 11.98 kB / 1.259 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.303e-05/1.198, allocations: 41.19 kB / 1.259 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/1.198, allocations: 0 / 1.259 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.198, allocations: 0 / 1.259 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/1.198, allocations: 4 kB / 1.259 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/1.198, allocations: 305.6 kB / 1.259 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.386e-05/1.198, allocations: 26.52 kB / 1.259 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/1.199, allocations: 4.859 kB / 1.259 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/1.199, allocations: 85.16 kB / 1.259 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.199, allocations: 33.81 kB / 1.259 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/1.199, allocations: 0 / 1.259 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001788/1.199, allocations: 37.61 kB / 1.259 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/1.199, allocations: 51.44 kB / 1.259 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/1.199, allocations: 100.9 kB / 1.26 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/1.199, allocations: 25.7 kB / 1.26 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/1.199, allocations: 88.05 kB / 1.26 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-06/1.199, allocations: 0 / 1.26 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/1.199, allocations: 0 / 1.26 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.199, allocations: 318.7 kB / 1.26 GB, free: 4.523 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/1.199, allocations: 4 kB / 1.26 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/1.199, allocations: 25.64 kB / 1.26 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/1.199, allocations: 4 kB / 1.26 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.199, allocations: 0 / 1.26 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.557e-05/1.199, allocations: 49 kB / 1.26 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.199, allocations: 4 kB / 1.26 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/1.199, allocations: 0 / 1.26 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/1.199, allocations: 0 / 1.26 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/1.199, allocations: 7.984 kB / 1.26 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.199, allocations: 7.938 kB / 1.26 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/1.199, allocations: 8 kB / 1.26 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/1.2, allocations: 288 / 1.26 GB, free: 4.406 MB / 0.8698 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 6.89e-05/1.2, allocations: 114.5 kB / 1.26 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.179e-05/1.2, allocations: 33.61 kB / 1.26 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/1.2, allocations: 4 kB / 1.26 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/1.2, allocations: 128.9 kB / 1.26 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.583e-05/1.2, allocations: 180.3 kB / 1.261 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.582e-05/1.2, allocations: 176.3 kB / 1.261 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-05/1.2, allocations: 192.1 kB / 1.261 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/1.2, allocations: 381.4 kB / 1.261 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.76e-05/1.2, allocations: 105 kB / 1.261 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/1.2, allocations: 112.9 kB / 1.261 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-05/1.201, allocations: 184.3 kB / 1.262 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/1.201, allocations: 176.3 kB / 1.262 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.989e-05/1.201, allocations: 180.2 kB / 1.262 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.075e-05/1.201, allocations: 180.2 kB / 1.262 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/1.201, allocations: 311.2 kB / 1.262 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/1.201, allocations: 186.1 kB / 1.263 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/1.201, allocations: 179.5 kB / 1.263 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/1.201, allocations: 108.9 kB / 1.263 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/1.201, allocations: 176.3 kB / 1.263 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/1.201, allocations: 109 kB / 1.263 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.364e-05/1.201, allocations: 86.72 kB / 1.263 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.201, allocations: 0 / 1.263 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002784/1.202, allocations: 12 kB / 1.263 GB, free: 0.9727 MB / 0.8698 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.0004779/1.202, allocations: 0.8481 MB / 1.264 GB, free: 104 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.308e-05/1.202, allocations: 8 kB / 1.264 GB, free: 96 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.202, allocations: 0 / 1.264 GB, free: 96 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.202, allocations: 0 / 1.264 GB, free: 96 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4566/1.659, allocations: 0.5248 MB / 1.265 GB, free: 326.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/1.659, allocations: 156.4 kB / 1.265 GB, free: 326.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/1.659, allocations: 0.6767 MB / 1.265 GB, free: 325.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.855e-05/1.66, allocations: 7.406 kB / 1.265 GB, free: 325.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/1.66, allocations: 10.67 kB / 1.265 GB, free: 325.7 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/1.66, allocations: 2.922 kB / 1.265 GB, free: 325.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/1.679, allocations: 1.091 MB / 1.266 GB, free: 325.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/1.68, allocations: 162.6 kB / 1.267 GB, free: 325.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.464/3.144, allocations: 1.094 kB / 1.267 GB, free: 325.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)