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.001016/0.001016, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006415/0.006415, allocations: 176.1 kB / 16.27 MB, free: 6.613 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 9 kB / 0.9157 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3857, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005231/0.391, allocations: 3.692 MB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002258/0.3913, allocations: 151.5 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/0.3913, allocations: 4 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.3914, allocations: 11.92 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.923e-05/0.3915, allocations: 3.984 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.3919, allocations: 83.12 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.392, allocations: 59.83 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.3921, allocations: 4 kB / 1.078 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.3921, allocations: 15.97 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.3922, allocations: 15.94 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3922, allocations: 0 / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.3925, allocations: 79.77 kB / 1.078 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.3925, allocations: 7.984 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.3926, allocations: 33.7 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3927, allocations: 47.83 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3927, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3928, allocations: 0 / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.3928, allocations: 0 / 1.078 GB, free: 3.336 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.0003913/0.3932, allocations: 335.8 kB / 1.079 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.3932, allocations: 12.03 kB / 1.079 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.3933, allocations: 8.828 kB / 1.079 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.3934, allocations: 160.4 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.3935, allocations: 30.27 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.3935, allocations: 4.375 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3936, allocations: 45.61 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3937, allocations: 0 / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3937, allocations: 0 / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.3937, allocations: 8 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.863e-05/0.3938, allocations: 19.92 kB / 1.079 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.3942, allocations: 334 kB / 1.079 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.3943, allocations: 14.58 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.3943, allocations: 8.922 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-05/0.3944, allocations: 89.03 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.3945, allocations: 34.56 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3945, allocations: 0 / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.3946, allocations: 45.62 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3947, allocations: 51.41 kB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3948, allocations: 97.86 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3948, allocations: 33.69 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.3949, allocations: 87.98 kB / 1.08 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.3949, allocations: 3.906 kB / 1.08 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.3949, allocations: 13.84 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.395, allocations: 322.8 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.395, allocations: 0 / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.3951, allocations: 17.7 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.3951, allocations: 25.66 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3951, allocations: 0 / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.066e-05/0.3952, allocations: 53.62 kB / 1.08 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3952, allocations: 4 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3952, allocations: 4 kB / 1.08 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3953, allocations: 0 / 1.08 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.437e-05/0.3953, allocations: 4 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3953, allocations: 0 / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.3953, allocations: 4 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3954, allocations: 7.984 kB / 1.08 GB, free: 1.219 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.041e-05/0.3954, allocations: 113.8 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3955, allocations: 4 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3956, allocations: 120.9 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-05/0.3957, allocations: 180.2 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-05/0.3957, allocations: 176.3 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.726e-05/0.3958, allocations: 184.1 kB / 1.081 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.3961, allocations: 413.2 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.357e-05/0.3961, allocations: 104.9 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.3962, allocations: 105 kB / 1.081 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.16e-05/0.3962, allocations: 176.3 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.3963, allocations: 184.5 kB / 1.082 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.814e-05/0.3964, allocations: 184.3 kB / 1.082 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.897e-05/0.3964, allocations: 184.2 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3966, allocations: 311.6 kB / 1.082 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.3967, allocations: 194 kB / 1.083 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.3968, allocations: 176.3 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.397, allocations: 116.9 kB / 1.083 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.3971, allocations: 180.3 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3971, allocations: 101 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.391e-05/0.3972, allocations: 83.28 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.735e-06/0.3972, allocations: 0 / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002692/0.3974, allocations: 19.92 kB / 1.083 GB, free: 13.76 MB / 0.8419 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.000241/0.3977, allocations: 202.4 kB / 1.083 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.634e-05/0.3978, allocations: 15.98 kB / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3978, allocations: 0 / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-06/0.3978, allocations: 0 / 1.083 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3982, allocations: 0.5226 MB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.3985, allocations: 191.8 kB / 1.084 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3987, allocations: 0.6731 MB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.3988, allocations: 8 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.729e-05/0.3988, allocations: 11.44 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3988, allocations: 0 / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.00297/0.4018, allocations: 0.6139 MB / 1.085 GB, free: 11.46 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)