Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001157, 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.00137/0.00137, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.42 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.316, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004857/0.3209, allocations: 4.012 MB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.3211, allocations: 155.5 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.3211, allocations: 3.938 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.796e-05/0.3212, allocations: 11.88 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.3213, allocations: 15.91 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.3216, allocations: 83.12 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/0.3217, allocations: 35.84 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.3217, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.3218, allocations: 15.98 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.3219, allocations: 19.91 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3219, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.3221, allocations: 51.83 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.3221, allocations: 7.984 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.3222, allocations: 11.92 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.3223, allocations: 43.91 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3223, allocations: 0 / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3223, allocations: 4 kB / 1.073 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3223, allocations: 0 / 1.073 GB, free: 5.91 MB / 0.8262 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.0004146/0.3227, allocations: 331.8 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.3228, allocations: 12.03 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.3228, allocations: 8.828 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3229, allocations: 164.4 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.323, allocations: 30.27 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.323, allocations: 384 / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.3232, allocations: 49.62 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.3232, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3232, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.3232, allocations: 4 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.17e-05/0.3233, allocations: 19.92 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.3237, allocations: 334 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.3238, allocations: 14.58 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.3238, allocations: 12.92 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.574e-05/0.3239, allocations: 85.09 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.3239, allocations: 34.56 kB / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3239, allocations: 0 / 1.074 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.324, allocations: 45.62 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.3241, allocations: 51.41 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.067e-05/0.3242, allocations: 101.8 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3242, allocations: 33.83 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.3242, allocations: 91.98 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.3242, allocations: 3.906 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3243, allocations: 17.7 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.3244, allocations: 318.8 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.3244, allocations: 4 kB / 1.074 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.3244, allocations: 17.66 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.3245, allocations: 33.64 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3245, allocations: 0 / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.213e-05/0.3246, allocations: 49.62 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3246, allocations: 5.875 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3246, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3246, allocations: 4 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.3246, allocations: 4 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3247, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.3247, allocations: 4.062 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3247, allocations: 4 kB / 1.074 GB, free: 3.785 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/0.3248, allocations: 110.3 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.3248, allocations: 4 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3249, allocations: 124.8 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.973e-05/0.325, allocations: 184.3 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-05/0.3251, allocations: 180.3 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.188e-05/0.3251, allocations: 184.2 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.3253, allocations: 409.2 kB / 1.075 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/0.3254, allocations: 104.9 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.3254, allocations: 101 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.884e-05/0.3255, allocations: 184.3 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.644e-05/0.3255, allocations: 184.2 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.047e-05/0.3256, allocations: 176.3 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.107e-05/0.3256, allocations: 184.2 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.3257, allocations: 307.8 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.3258, allocations: 186 kB / 1.077 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.3259, allocations: 180.2 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.326, allocations: 108.9 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.3261, allocations: 176.3 kB / 1.077 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.3261, allocations: 108.9 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.915e-05/0.3262, allocations: 95.28 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3262, allocations: 3.938 kB / 1.077 GB, free: 352 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000233/0.3264, allocations: 12 kB / 1.077 GB, free: 340 kB / 0.8262 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 (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.0002259/0.3267, allocations: 206.4 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.813e-05/0.3268, allocations: 8 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3268, allocations: 4 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3268, allocations: 4.125 kB / 1.078 GB, free: 108 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.3271, allocations: 463.6 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.3274, allocations: 166 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3276, allocations: 0.6768 MB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.362e-05/0.3277, allocations: 11.94 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.3277, allocations: 11.44 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3277, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.002685/0.3304, allocations: 0.6304 MB / 1.08 GB, free: 14.11 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)