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.84/1.84, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001217/0.001217, allocations: 173.1 kB / 377.1 MB, free: 1.531 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.928/1.928, allocations: 205.4 MB / 0.6366 GB, free: 8.547 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.0009593/0.0009593, allocations: 97.45 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 12 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2474, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.158, allocations: 378.7 MB / 1.358 GB, free: 11.45 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.158, allocations: 83.41 kB / 1.358 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4677/1.626, allocations: 12.04 MB / 1.37 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.136e-06/1.626, allocations: 0 / 1.37 GB, free: 281.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.626, allocations: 0.75 kB / 1.37 GB, free: 281.1 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.0002991/1.626, allocations: 344.4 kB / 1.37 GB, free: 280.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/1.626, allocations: 13.17 kB / 1.37 GB, free: 280.8 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/1.626, allocations: 34.84 kB / 1.37 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/1.626, allocations: 2.844 kB / 1.37 GB, free: 280.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.456e-05/1.626, allocations: 164.5 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/1.626, allocations: 32.02 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/1.626, allocations: 7.125 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/1.626, allocations: 43.38 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/1.627, allocations: 2.281 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/1.627, allocations: 0 / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/1.627, allocations: 5.391 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.398e-05/1.627, allocations: 10.27 kB / 1.371 GB, free: 280.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/1.627, allocations: 337.4 kB / 1.371 GB, free: 280.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/1.627, allocations: 23.98 kB / 1.371 GB, free: 280.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/1.627, allocations: 86.17 kB / 1.371 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/1.627, allocations: 33.78 kB / 1.371 GB, free: 280 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/1.627, allocations: 0 / 1.371 GB, free: 280 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/1.627, allocations: 38.39 kB / 1.371 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/1.627, allocations: 52 kB / 1.371 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.926e-05/1.627, allocations: 101.9 kB / 1.371 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/1.627, allocations: 29.55 kB / 1.371 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/1.627, allocations: 87.98 kB / 1.371 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.63e-06/1.627, allocations: 2.031 kB / 1.371 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-06/1.627, allocations: 0.9375 kB / 1.371 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.727e-05/1.628, allocations: 314.6 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/1.628, allocations: 4.703 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.212e-05/1.628, allocations: 19.34 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.758e-05/1.628, allocations: 5.469 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.628, allocations: 0.5625 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.764e-05/1.628, allocations: 57.17 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/1.628, allocations: 7 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/1.628, allocations: 3.641 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/1.628, allocations: 0 / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/1.628, allocations: 5.562 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.628, allocations: 2.375 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/1.628, allocations: 7.531 kB / 1.372 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/1.628, allocations: 8.75 kB / 1.372 GB, free: 279.3 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 () * Number of clocked 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 5.273e-05/1.628, allocations: 108.6 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/1.628, allocations: 2.984 kB / 1.372 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.414e-05/1.628, allocations: 124.7 kB / 1.372 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/1.628, allocations: 180.2 kB / 1.372 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-05/1.628, allocations: 184.9 kB / 1.372 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/1.628, allocations: 177.6 kB / 1.373 GB, free: 278.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/1.628, allocations: 413.2 kB / 1.373 GB, free: 278.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/1.628, allocations: 102.5 kB / 1.373 GB, free: 278 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/1.628, allocations: 107.1 kB / 1.373 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.729e-05/1.628, allocations: 178.7 kB / 1.373 GB, free: 277.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/1.628, allocations: 182.8 kB / 1.374 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/1.628, allocations: 183.3 kB / 1.374 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.24e-05/1.628, allocations: 177.6 kB / 1.374 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/1.629, allocations: 311.4 kB / 1.374 GB, free: 276.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/1.629, allocations: 190 kB / 1.374 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/1.629, allocations: 185.6 kB / 1.375 GB, free: 276.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.629, allocations: 112 kB / 1.375 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/1.629, allocations: 179 kB / 1.375 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.629, allocations: 104.9 kB / 1.375 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.302e-05/1.629, allocations: 86.22 kB / 1.375 GB, free: 276 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.51e-07/1.629, allocations: 0 / 1.375 GB, free: 276 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002493/1.629, allocations: 11.81 kB / 1.375 GB, free: 276 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 () * Number of clocked 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.0003246/1.629, allocations: 0.8496 MB / 1.376 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.328e-05/1.63, allocations: 7.781 kB / 1.376 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.63, allocations: 0.6562 kB / 1.376 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.858e-06/1.63, allocations: 4.438 kB / 1.376 GB, free: 275.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/1.63, allocations: 0.5291 MB / 1.376 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/1.63, allocations: 223.6 kB / 1.377 GB, free: 274.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/1.63, allocations: 0.676 MB / 1.377 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.528e-05/1.63, allocations: 11.34 kB / 1.377 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/1.63, allocations: 12.47 kB / 1.377 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of SimCode: time 2.3e-07/1.63, allocations: 0 / 1.377 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/1.643, allocations: 1.556 MB / 1.379 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.643, allocations: 180 kB / 1.379 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/3.211, allocations: 0 / 1.379 GB, free: 273.3 MB / 0.9323 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)