Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009009/0.0009009, allocations: 103.5 kB / 16.29 MB, free: 6.02 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.0008796/0.0008796, allocations: 185 kB / 17.22 MB, free: 5.629 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.215/1.215, allocations: 205.1 MB / 223.1 MB, free: 12.18 MB / 190.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.586/1.586, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001278/0.001278, allocations: 72.47 kB / 0.6722 GB, free: 6.594 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1873, allocations: 114.6 MB / 0.7841 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5127/0.7001, allocations: 162.9 MB / 0.9431 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.7051, allocations: 3.343 MB / 0.9464 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.7056, allocations: 19.88 kB / 0.9464 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007596/0.7064, allocations: 274.5 kB / 0.9467 GB, free: 4.066 MB / 0.7325 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.001737/0.7081, allocations: 0.8477 MB / 0.9475 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009134/0.7091, allocations: 442.6 kB / 0.9479 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.7101, allocations: 1.083 MB / 0.949 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.7105, allocations: 332.1 kB / 0.9493 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.711, allocations: 410.3 kB / 0.9497 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/0.7118, allocations: 342.6 kB / 0.95 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.601e-05/0.7119, allocations: 40.94 kB / 0.9501 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.713, allocations: 0.6938 MB / 0.9508 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.7132, allocations: 163.5 kB / 0.9509 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.7134, allocations: 278.6 kB / 0.9512 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.7144, allocations: 0.927 MB / 0.9521 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7144, allocations: 0 / 0.9521 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7144, allocations: 0 / 0.9521 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.7144, allocations: 0 / 0.9521 GB, free: 14.54 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001225/0.7157, allocations: 0.863 MB / 0.9529 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.7157, allocations: 12.03 kB / 0.9529 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009341/0.7167, allocations: 149 kB / 0.9531 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006151/0.7173, allocations: 492.9 kB / 0.9535 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.7173, allocations: 20.56 kB / 0.9536 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.7174, allocations: 35.84 kB / 0.9536 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.7179, allocations: 315.7 kB / 0.9539 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.7179, allocations: 4 kB / 0.9539 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.7179, allocations: 15.92 kB / 0.9539 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.105e-05/0.7179, allocations: 16.56 kB / 0.9539 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.7183, allocations: 214.1 kB / 0.9541 GB, free: 12.32 MB / 0.7481 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.001667/0.72, allocations: 1.406 MB / 0.9555 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.7204, allocations: 224.9 kB / 0.9557 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.7205, allocations: 112.8 kB / 0.9558 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.7206, allocations: 4 kB / 0.9558 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.7208, allocations: 164.5 kB / 0.956 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.7209, allocations: 4 kB / 0.956 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002661/0.7235, allocations: 1.152 MB / 0.9571 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.7236, allocations: 55.34 kB / 0.9572 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004524/0.724, allocations: 457.9 kB / 0.9576 GB, free: 8.531 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.7241, allocations: 37.64 kB / 0.9577 GB, free: 8.488 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.7242, allocations: 225.1 kB / 0.9579 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.7243, allocations: 118.4 kB / 0.958 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.7244, allocations: 78.12 kB / 0.9581 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7246, allocations: 350.8 kB / 0.9584 GB, free: 7.715 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.7248, allocations: 136.8 kB / 0.9585 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.725, allocations: 194.3 kB / 0.9587 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.7255, allocations: 329.8 kB / 0.959 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.7255, allocations: 0 / 0.959 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000881/0.7264, allocations: 0.4952 MB / 0.9595 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.7264, allocations: 4 kB / 0.9595 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.7264, allocations: 7.984 kB / 0.9595 GB, free: 6.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003214/0.7268, allocations: 80.8 kB / 0.9596 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.727, allocations: 72.34 kB / 0.9597 GB, free: 6.367 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.7288, allocations: 1.95 MB / 0.9616 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.7291, allocations: 11.97 kB / 0.9616 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.7292, allocations: 16.06 kB / 0.9616 GB, free: 4.254 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001946/0.7294, allocations: 198.5 kB / 0.9618 GB, free: 4.051 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.284e-05/0.7294, allocations: 47.47 kB / 0.9618 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.761e-05/0.7295, allocations: 52.58 kB / 0.9619 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.7296, allocations: 4 kB / 0.9619 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7296, allocations: 0 / 0.9619 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.7296, allocations: 7.984 kB / 0.9619 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.731, allocations: 1.007 MB / 0.9629 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.731, allocations: 0 / 0.9629 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003607/0.7314, allocations: 71.89 kB / 0.9629 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/0.7317, allocations: 92.66 kB / 0.963 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.7317, allocations: 8 kB / 0.963 GB, free: 2.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.733, allocations: 1.644 MB / 0.9646 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.733, allocations: 0 / 0.9646 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/0.7339, allocations: 0.5941 MB / 0.9652 GB, free: 312 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.7341, allocations: 152.5 kB / 0.9654 GB, free: 140 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.7341, allocations: 15.94 kB / 0.9654 GB, free: 124 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.7345, allocations: 12.22 kB / 0.9654 GB, free: 112 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.7345, allocations: 19.97 kB / 0.9654 GB, free: 92 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.7346, allocations: 19.98 kB / 0.9654 GB, free: 72 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003128/0.7349, allocations: 307.1 kB / 0.9657 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7349, allocations: 0 / 0.9657 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004572/0.7353, allocations: 120 kB / 0.9658 GB, free: 15.66 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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.0009728/0.7363, allocations: 445.1 kB / 0.9663 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000847/0.7372, allocations: 466.4 kB / 0.9667 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7372, allocations: 0 / 0.9667 GB, free: 14.96 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.7375, allocations: 262.5 kB / 0.967 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/0.7385, allocations: 249.7 kB / 0.9672 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.7399, allocations: 0.9942 MB / 0.9682 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.7403, allocations: 0.8582 MB / 0.969 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002501/0.7406, allocations: 84.62 kB / 0.9691 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.7407, allocations: 35.44 kB / 0.9691 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of SimCode: time 2.01e-07/0.7407, allocations: 0 / 0.9691 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of Templates: time 0.0139/0.7546, allocations: 8.907 MB / 0.9778 GB, free: 3.75 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)