Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01256/0.01256, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.001888/0.001889, allocations: 195.1 kB / 16.68 MB, free: 5.934 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.757/1.757, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6396/0.6396, allocations: 95.48 MB / 365.4 MB, free: 9.77 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001805, allocations: 74.08 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1644, allocations: 69.08 MB / 0.5711 GB, free: 8.355 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6991/0.8636, allocations: 177.9 MB / 0.7448 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00337/0.867, allocations: 1.672 MB / 0.7464 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.8674, allocations: 11.94 kB / 0.7464 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009156/0.8684, allocations: 246.7 kB / 0.7466 GB, free: 10.66 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.00267/0.8711, allocations: 0.9603 MB / 0.7476 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.8726, allocations: 0.5362 MB / 0.7481 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.8739, allocations: 0.9655 MB / 0.749 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.8742, allocations: 261.1 kB / 0.7493 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.8749, allocations: 402.4 kB / 0.7497 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008995/0.8758, allocations: 315.2 kB / 0.75 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.8759, allocations: 40 kB / 0.75 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002056/0.8779, allocations: 0.9279 MB / 0.7509 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.8781, allocations: 147.5 kB / 0.7511 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.8784, allocations: 250.7 kB / 0.7513 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.8801, allocations: 1.059 MB / 0.7523 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8801, allocations: 0 / 0.7523 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8801, allocations: 0 / 0.7523 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.8801, allocations: 0 / 0.7523 GB, free: 4.824 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001408/0.8815, allocations: 0.8864 MB / 0.7532 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.8816, allocations: 11.98 kB / 0.7532 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002059/0.8818, allocations: 59.66 kB / 0.7533 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.8826, allocations: 0.4897 MB / 0.7538 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.8827, allocations: 20.56 kB / 0.7538 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.8827, allocations: 24 kB / 0.7538 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.8832, allocations: 284.8 kB / 0.7541 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.8833, allocations: 3.984 kB / 0.7541 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.8833, allocations: 15.98 kB / 0.7541 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.8833, allocations: 7.938 kB / 0.7541 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.8838, allocations: 261.7 kB / 0.7543 GB, free: 2.68 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.8857, allocations: 1.343 MB / 0.7557 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.8862, allocations: 257.8 kB / 0.7559 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.8865, allocations: 140.8 kB / 0.756 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004712/0.887, allocations: 457.5 kB / 0.7565 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003492/0.8873, allocations: 195.3 kB / 0.7567 GB, free: 40 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.8873, allocations: 0 / 0.7567 GB, free: 40 kB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.005639/0.893, allocations: 1.716 MB / 0.7583 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.8931, allocations: 55.41 kB / 0.7584 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.8935, allocations: 405.7 kB / 0.7588 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.8936, allocations: 33.7 kB / 0.7588 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.8938, allocations: 212.7 kB / 0.759 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.8939, allocations: 138.8 kB / 0.7591 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.894, allocations: 65.66 kB / 0.7592 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.8942, allocations: 366.7 kB / 0.7596 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.8945, allocations: 132.3 kB / 0.7597 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.8948, allocations: 189.8 kB / 0.7599 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006998/0.9018, allocations: 1.426 MB / 0.7613 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9019, allocations: 0 / 0.7613 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001168/0.903, allocations: 0.5092 MB / 0.7617 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.9031, allocations: 8.125 kB / 0.7618 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9031, allocations: 3.938 kB / 0.7618 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.9035, allocations: 80.8 kB / 0.7618 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.9039, allocations: 87.89 kB / 0.7619 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.9062, allocations: 1.948 MB / 0.7638 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.9065, allocations: 8.031 kB / 0.7638 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.9066, allocations: 19.98 kB / 0.7638 GB, free: 8.391 MB / 0.5762 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.T:VARIABLE(min = 1.0 max = 1e4 start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.nextTimeEvent,$whenCondition1,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004105/0.907, allocations: 193.3 kB / 0.764 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/0.9071, allocations: 47.72 kB / 0.7641 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.9083, allocations: 0.5356 MB / 0.7646 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.9083, allocations: 4 kB / 0.7646 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.9083, allocations: 0 / 0.7646 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.9083, allocations: 3.984 kB / 0.7646 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.9104, allocations: 1.181 MB / 0.7658 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9104, allocations: 8.219 kB / 0.7658 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.9108, allocations: 79.89 kB / 0.7658 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/0.9112, allocations: 76.78 kB / 0.7659 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.9112, allocations: 15.98 kB / 0.7659 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.913, allocations: 1.656 MB / 0.7676 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.913, allocations: 0 / 0.7676 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.9144, allocations: 0.7309 MB / 0.7683 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.9146, allocations: 164.8 kB / 0.7684 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.9147, allocations: 12 kB / 0.7684 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.915, allocations: 19.98 kB / 0.7685 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.9151, allocations: 27.95 kB / 0.7685 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.9151, allocations: 12 kB / 0.7685 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003332/0.9154, allocations: 299.1 kB / 0.7688 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9155, allocations: 4 kB / 0.7688 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007947/0.9163, allocations: 231.5 kB / 0.769 GB, free: 2.836 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001509/0.9178, allocations: 0.6031 MB / 0.7696 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.9189, allocations: 0.4943 MB / 0.7701 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.9189, allocations: 8.047 kB / 0.7701 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.9193, allocations: 302.5 kB / 0.7704 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.9205, allocations: 270.1 kB / 0.7706 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.9226, allocations: 1.075 MB / 0.7717 GB, free: 200 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.9231, allocations: 0.8399 MB / 0.7725 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003359/0.9234, allocations: 96.31 kB / 0.7726 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.9236, allocations: 47.42 kB / 0.7726 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of SimCode: time 4e-07/0.9236, allocations: 0 / 0.7726 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.01919/0.9428, allocations: 11.87 MB / 0.7842 GB, free: 3.391 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)