Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.579/3.579, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00223/0.00223, allocations: 183.3 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.753/3.753, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001414/0.001414, allocations: 101.8 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00081/0.0008104, allocations: 9.969 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3413, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/2.157, allocations: 369.9 MB / 1.261 GB, free: 44 kB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003978/2.158, allocations: 76.72 kB / 1.261 GB, free: 4 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.06097/2.219, allocations: 11.67 MB / 1.272 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.357e-06/2.219, allocations: 3.938 kB / 1.272 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.046e-05/2.219, allocations: 0 / 1.272 GB, free: 6.941 MB / 0.7761 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.0005876/2.22, allocations: 338.1 kB / 1.273 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/2.22, allocations: 8.031 kB / 1.273 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/2.22, allocations: 5.812 kB / 1.273 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/2.22, allocations: 168.4 kB / 1.273 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/2.22, allocations: 26.27 kB / 1.273 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/2.22, allocations: 1.125 kB / 1.273 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/2.221, allocations: 52.48 kB / 1.273 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/2.221, allocations: 3.938 kB / 1.273 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/2.221, allocations: 0 / 1.273 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/2.221, allocations: 0 / 1.273 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/2.221, allocations: 22.55 kB / 1.273 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/2.222, allocations: 335 kB / 1.273 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.655e-05/2.222, allocations: 18.58 kB / 1.273 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/2.222, allocations: 4.859 kB / 1.273 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001779/2.222, allocations: 82.86 kB / 1.273 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/2.222, allocations: 38.56 kB / 1.273 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 3.516e-06/2.222, allocations: 0 / 1.273 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0002391/2.222, allocations: 41.56 kB / 1.273 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/2.222, allocations: 51.41 kB / 1.273 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/2.222, allocations: 105.7 kB / 1.273 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/2.223, allocations: 25.7 kB / 1.273 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/2.223, allocations: 84.05 kB / 1.274 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/2.223, allocations: 11.84 kB / 1.274 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/2.223, allocations: 0 / 1.274 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001722/2.223, allocations: 315 kB / 1.274 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/2.223, allocations: 7.875 kB / 1.274 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/2.223, allocations: 13.7 kB / 1.274 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/2.223, allocations: 7.938 kB / 1.274 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/2.223, allocations: 4 kB / 1.274 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001859/2.223, allocations: 49.44 kB / 1.274 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/2.223, allocations: 9.625 kB / 1.274 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/2.223, allocations: 0 / 1.274 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/2.223, allocations: 0 / 1.274 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/2.224, allocations: 8 kB / 1.274 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/2.224, allocations: 0 / 1.274 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/2.224, allocations: 3.938 kB / 1.274 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/2.224, allocations: 4 kB / 1.274 GB, free: 4.902 MB / 0.7761 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 0.0001453/2.224, allocations: 121.4 kB / 1.274 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/2.224, allocations: 0 / 1.274 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/2.224, allocations: 120.9 kB / 1.274 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/2.224, allocations: 188.2 kB / 1.274 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000106/2.224, allocations: 184.2 kB / 1.275 GB, free: 4.277 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/2.225, allocations: 180.2 kB / 1.275 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/2.225, allocations: 413 kB / 1.275 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.877e-05/2.225, allocations: 105 kB / 1.275 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/2.225, allocations: 104.9 kB / 1.275 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/2.225, allocations: 176.3 kB / 1.275 GB, free: 3.238 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/2.225, allocations: 180.3 kB / 1.276 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001074/2.226, allocations: 184.2 kB / 1.276 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001078/2.226, allocations: 180.2 kB / 1.276 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/2.226, allocations: 307.7 kB / 1.276 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/2.226, allocations: 190 kB / 1.276 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/2.226, allocations: 180.2 kB / 1.277 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/2.227, allocations: 109 kB / 1.277 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/2.227, allocations: 184.2 kB / 1.277 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.56e-05/2.227, allocations: 105.3 kB / 1.277 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001212/2.227, allocations: 86.91 kB / 1.277 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.82e-07/2.227, allocations: 0 / 1.277 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005992/2.228, allocations: 15.98 kB / 1.277 GB, free: 1.465 MB / 0.7761 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.0004128/2.228, allocations: 210.5 kB / 1.277 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001417/2.228, allocations: 15.81 kB / 1.277 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/2.228, allocations: 0 / 1.277 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/2.228, allocations: 0 / 1.277 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009561/2.229, allocations: 0.5438 MB / 1.278 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/2.23, allocations: 184.6 kB / 1.278 GB, free: 492 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/2.23, allocations: 0.6809 MB / 1.279 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001284/2.231, allocations: 8 kB / 1.279 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/2.231, allocations: 7.438 kB / 1.279 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of SimCode: time 1.864e-06/2.231, allocations: 0 / 1.279 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of Templates: time 0.006231/2.237, allocations: 0.7777 MB / 1.279 GB, free: 14.99 MB / 0.7917 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)