Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.00128, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 194.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.3 MB / 0.5489 GB, free: 12.88 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001575, allocations: 73.03 kB / 0.6715 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3124, allocations: 114.5 MB / 0.7833 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7765/1.089, allocations: 148.3 MB / 0.9281 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001408/1.089, allocations: 49.94 kB / 0.9282 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/1.089, allocations: 0 / 0.9282 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/1.089, allocations: 4.734 kB / 0.9282 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.655e-05/1.089, allocations: 9.453 kB / 0.9282 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/1.09, allocations: 208.6 kB / 0.9284 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/1.09, allocations: 32.3 kB / 0.9284 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/1.09, allocations: 3.766 kB / 0.9284 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/1.09, allocations: 13.52 kB / 0.9285 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.433e-05/1.09, allocations: 11.47 kB / 0.9285 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/1.091, allocations: 2.688 kB / 0.9285 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/1.091, allocations: 193 kB / 0.9287 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/1.091, allocations: 16.47 kB / 0.9287 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/1.091, allocations: 10.3 kB / 0.9287 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/1.091, allocations: 109.2 kB / 0.9288 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.091, allocations: 2.844 kB / 0.9288 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/1.091, allocations: 0 / 0.9288 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.044e-06/1.091, allocations: 0.6094 kB / 0.9288 GB, free: 2.938 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000624/1.092, allocations: 337.7 kB / 0.9291 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.092, allocations: 9.984 kB / 0.9291 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/1.092, allocations: 36.8 kB / 0.9291 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.093, allocations: 164.1 kB / 0.9293 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/1.093, allocations: 30.48 kB / 0.9293 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/1.093, allocations: 5.312 kB / 0.9293 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/1.093, allocations: 50.72 kB / 0.9294 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.093, allocations: 0 / 0.9294 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.093, allocations: 2.719 kB / 0.9294 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/1.093, allocations: 0.6094 kB / 0.9294 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/1.093, allocations: 24.72 kB / 0.9294 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/1.093, allocations: 256.5 kB / 0.9297 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.603e-05/1.094, allocations: 24.02 kB / 0.9297 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/1.094, allocations: 14.89 kB / 0.9297 GB, free: 18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/1.094, allocations: 96.77 kB / 0.9298 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.094, allocations: 31.36 kB / 0.9298 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/1.094, allocations: 3.984 kB / 0.9298 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003363/1.094, allocations: 47.02 kB / 0.9299 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/1.094, allocations: 52.11 kB / 0.9299 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/1.094, allocations: 110.1 kB / 0.93 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/1.094, allocations: 25.83 kB / 0.93 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/1.095, allocations: 95 kB / 0.9301 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/1.095, allocations: 5.641 kB / 0.9301 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/1.095, allocations: 20.88 kB / 0.9302 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.095, allocations: 312.1 kB / 0.9305 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/1.095, allocations: 7.547 kB / 0.9305 GB, free: 17.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/1.095, allocations: 25.91 kB / 0.9305 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.31e-05/1.095, allocations: 32.39 kB / 0.9305 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.095, allocations: 0 / 0.9305 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.003e-05/1.095, allocations: 52.72 kB / 0.9306 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.095, allocations: 3.844 kB / 0.9306 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.095, allocations: 4.172 kB / 0.9306 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.095, allocations: 3.938 kB / 0.9306 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/1.095, allocations: 11.73 kB / 0.9306 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.095, allocations: 4.547 kB / 0.9306 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/1.095, allocations: 15.16 kB / 0.9306 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/1.095, allocations: 2.688 kB / 0.9306 GB, free: 17.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.88e-05/1.095, allocations: 106.6 kB / 0.9307 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/1.095, allocations: 3.281 kB / 0.9307 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/1.095, allocations: 7.609 kB / 0.9307 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.095, allocations: 2.5 kB / 0.9307 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.095, allocations: 0.5625 kB / 0.9307 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/1.095, allocations: 7.938 kB / 0.9307 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/1.096, allocations: 359.8 kB / 0.9311 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.096, allocations: 1.094 kB / 0.9311 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/1.096, allocations: 5.391 kB / 0.9311 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.096, allocations: 3.938 kB / 0.9311 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/1.096, allocations: 3.438 kB / 0.9311 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.096, allocations: 0 / 0.9311 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.096, allocations: 64 / 0.9311 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.487e-05/1.096, allocations: 75.55 kB / 0.9312 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/1.096, allocations: 81.77 kB / 0.9312 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/1.096, allocations: 7.219 kB / 0.9313 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/1.096, allocations: 7.484 kB / 0.9313 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/1.096, allocations: 1.797 kB / 0.9313 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/1.096, allocations: 6.969 kB / 0.9313 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.632e-05/1.096, allocations: 79.5 kB / 0.9313 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/1.096, allocations: 0 / 0.9313 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002074/1.096, allocations: 6.344 kB / 0.9314 GB, free: 16.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001786/1.096, allocations: 110.4 kB / 0.9315 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001177/1.097, allocations: 14.36 kB / 0.9315 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.097, allocations: 4.188 kB / 0.9315 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/1.097, allocations: 6.797 kB / 0.9315 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/1.097, allocations: 6.359 kB / 0.9315 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000384/1.097, allocations: 124.8 kB / 0.9316 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/1.098, allocations: 0.6786 MB / 0.9323 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.077e-05/1.098, allocations: 13.23 kB / 0.9323 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/1.098, allocations: 10.19 kB / 0.9323 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/1.098, allocations: 0 / 0.9323 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.002994/1.101, allocations: 0.5327 MB / 0.9328 GB, free: 15.34 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)