Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 289.7 MB / 302.2 MB, free: 2.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 180 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009568/0.0009571, allocations: 92.2 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.278e-05, allocations: 0 / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.529, allocations: 378.6 MB / 1.35 GB, free: 2.016 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.53, allocations: 75.19 kB / 1.35 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02766/1.557, allocations: 12 MB / 1.361 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.315e-06/1.557, allocations: 0 / 1.361 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.09e-05/1.557, allocations: 4 kB / 1.361 GB, free: 8.734 MB / 0.9323 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.0003569/1.558, allocations: 326.5 kB / 1.362 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.558, allocations: 12.03 kB / 1.362 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/1.558, allocations: 41.69 kB / 1.362 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/1.558, allocations: 3.75 kB / 1.362 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.558, allocations: 166.3 kB / 1.362 GB, free: 8.113 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/1.558, allocations: 29.69 kB / 1.362 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/1.558, allocations: 0 / 1.362 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/1.558, allocations: 43.89 kB / 1.362 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/1.558, allocations: 0 / 1.362 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/1.558, allocations: 0.8125 kB / 1.362 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.558, allocations: 4 kB / 1.362 GB, free: 8.031 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/1.559, allocations: 15.56 kB / 1.362 GB, free: 8.02 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/1.559, allocations: 332.6 kB / 1.362 GB, free: 7.633 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.834e-05/1.559, allocations: 19.8 kB / 1.362 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/1.559, allocations: 4.859 kB / 1.362 GB, free: 7.598 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-05/1.559, allocations: 85.16 kB / 1.362 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.559, allocations: 41.69 kB / 1.363 GB, free: 7.449 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/1.559, allocations: 0 / 1.363 GB, free: 7.449 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/1.559, allocations: 35.98 kB / 1.363 GB, free: 7.41 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.559, allocations: 55.36 kB / 1.363 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.493e-05/1.56, allocations: 96.5 kB / 1.363 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/1.56, allocations: 25.7 kB / 1.363 GB, free: 7.215 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/1.56, allocations: 88.81 kB / 1.363 GB, free: 7.125 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.664e-06/1.56, allocations: 3.984 kB / 1.363 GB, free: 7.121 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/1.56, allocations: 4.031 kB / 1.363 GB, free: 7.117 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.56, allocations: 314.7 kB / 1.363 GB, free: 6.805 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/1.56, allocations: 6.25 kB / 1.363 GB, free: 6.801 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/1.56, allocations: 13.72 kB / 1.363 GB, free: 6.781 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.171e-05/1.56, allocations: 11.67 kB / 1.363 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.56, allocations: 0 / 1.363 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.775e-05/1.56, allocations: 53.66 kB / 1.363 GB, free: 6.715 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.56, allocations: 4 kB / 1.363 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.56, allocations: 0 / 1.363 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.56, allocations: 1 kB / 1.363 GB, free: 6.711 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/1.56, allocations: 7.828 kB / 1.363 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.56, allocations: 4 kB / 1.363 GB, free: 6.703 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/1.56, allocations: 11.8 kB / 1.363 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/1.56, allocations: 3.25 kB / 1.363 GB, free: 6.691 MB / 0.9323 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.712e-05/1.56, allocations: 106.6 kB / 1.363 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/1.56, allocations: 32 / 1.363 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/1.56, allocations: 128.6 kB / 1.363 GB, free: 6.453 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-05/1.561, allocations: 176.3 kB / 1.364 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.141e-05/1.561, allocations: 180.5 kB / 1.364 GB, free: 6.09 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.138e-05/1.561, allocations: 181.4 kB / 1.364 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/1.561, allocations: 416 kB / 1.364 GB, free: 5.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.214e-05/1.561, allocations: 109 kB / 1.364 GB, free: 5.332 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/1.561, allocations: 105 kB / 1.365 GB, free: 5.223 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.577e-05/1.561, allocations: 180.2 kB / 1.365 GB, free: 5.039 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.744e-05/1.561, allocations: 179.5 kB / 1.365 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.679e-05/1.561, allocations: 184.2 kB / 1.365 GB, free: 4.672 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.205e-05/1.561, allocations: 183.2 kB / 1.365 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/1.562, allocations: 311.2 kB / 1.366 GB, free: 4.164 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/1.562, allocations: 178.1 kB / 1.366 GB, free: 3.965 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/1.562, allocations: 188.2 kB / 1.366 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.562, allocations: 112 kB / 1.366 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/1.562, allocations: 176.3 kB / 1.366 GB, free: 3.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/1.562, allocations: 108.9 kB / 1.366 GB, free: 3.367 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 5.428e-05/1.562, allocations: 88.16 kB / 1.366 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.562, allocations: 0 / 1.366 GB, free: 3.285 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002657/1.562, allocations: 12 kB / 1.366 GB, free: 3.273 MB / 0.9323 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.0005566/1.563, allocations: 0.8383 MB / 1.367 GB, free: 2.414 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/1.563, allocations: 23.5 kB / 1.367 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.563, allocations: 0 / 1.367 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/1.563, allocations: 1.5 kB / 1.367 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/1.563, allocations: 0.5198 MB / 1.368 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/1.564, allocations: 172.5 kB / 1.368 GB, free: 1.672 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/1.564, allocations: 0.677 MB / 1.369 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.79e-05/1.564, allocations: 4.984 kB / 1.369 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/1.564, allocations: 15.42 kB / 1.369 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of SimCode: time 4.01e-07/1.564, allocations: 0 / 1.369 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01367/1.578, allocations: 1.595 MB / 1.37 GB, free: 15.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/1.578, allocations: 161 kB / 1.37 GB, free: 15.28 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/3.352, allocations: 0 / 1.37 GB, free: 15.28 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)