Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.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.Examples.Tutorial.Boiler.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5") translateModel(Buildings.Examples.Tutorial.Boiler.System5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T|boi.vol.T|temSup.T|temRet.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 113.2 kB / 16.41 MB, free: 5.914 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.001356/0.001356, allocations: 187.7 kB / 17.34 MB, free: 5.543 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.89 kB / 1.07 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System5): time 1.688/2.754, allocations: 0.511 GB / 1.737 GB, free: 41.83 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.0938/2.848, allocations: 68.42 MB / 1.804 GB, free: 8.145 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02111/2.869, allocations: 426.4 kB / 1.805 GB, free: 7.875 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01877/2.888, allocations: 5.849 MB / 1.81 GB, free: 3.574 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04647/2.934, allocations: 14.16 MB / 1.824 GB, free: 5.363 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0359/2.97, allocations: 9.721 MB / 1.834 GB, free: 11.72 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.06652/3.037, allocations: 37.19 MB / 1.87 GB, free: 6.441 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02364/3.06, allocations: 11.41 MB / 1.881 GB, free: 10.89 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03014/3.091, allocations: 12.04 MB / 1.893 GB, free: 14.86 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01898/3.11, allocations: 8.938 MB / 1.902 GB, free: 5.883 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.006026/3.116, allocations: 1.137 MB / 1.903 GB, free: 4.746 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02047/3.136, allocations: 6.162 MB / 1.909 GB, free: 14.57 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.007074/3.143, allocations: 3.426 MB / 1.912 GB, free: 11.14 MB / 1.389 GB Notification: Performance of NFVerifyModel.verify: time 0.01826/3.161, allocations: 6.839 MB / 1.919 GB, free: 4.266 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.04705/3.209, allocations: 19.69 MB / 1.938 GB, free: 0.5078 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/3.209, allocations: 0 / 1.938 GB, free: 0.5078 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.845e-06/3.209, allocations: 0 / 1.938 GB, free: 0.5078 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001004/3.21, allocations: 4 kB / 1.938 GB, free: 0.5039 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.04065/3.25, allocations: 13.86 MB / 1.951 GB, free: 2.488 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/3.25, allocations: 11.98 kB / 1.951 GB, free: 2.477 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/3.265, allocations: 2.213 MB / 1.954 GB, free: 260 kB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03156/3.296, allocations: 12.11 MB / 1.965 GB, free: 4.039 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006708/3.297, allocations: 0.5287 MB / 1.966 GB, free: 3.508 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/3.3, allocations: 0.7108 MB / 1.967 GB, free: 2.797 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/3.324, allocations: 8.02 MB / 1.975 GB, free: 10.49 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002086/3.324, allocations: 15.89 kB / 1.975 GB, free: 10.48 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/3.325, allocations: 288 kB / 1.975 GB, free: 10.2 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000262/3.326, allocations: 284.8 kB / 1.975 GB, free: 9.914 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/3.34, allocations: 6.218 MB / 1.981 GB, free: 3.68 MB / 1.451 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.07681/3.417, allocations: 40.17 MB / 2.02 GB, free: 8.738 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008732/3.425, allocations: 4.314 MB / 2.025 GB, free: 4.309 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004818/3.43, allocations: 2.226 MB / 2.027 GB, free: 2.074 MB / 1.498 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 evalFunc (simulation): time 0.0291/3.459, allocations: 9.916 MB / 2.036 GB, free: 7.668 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005417/3.465, allocations: 2.216 MB / 2.039 GB, free: 5.41 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00484/3.47, allocations: 357.2 kB / 2.039 GB, free: 5.059 MB / 1.514 GB Notification: Performance of pre-optimization done (n=353): time 1.711e-05/3.47, allocations: 0 / 2.039 GB, free: 5.059 MB / 1.514 GB Notification: Performance of matching and sorting (n=361): time 0.04101/3.511, allocations: 13.62 MB / 2.052 GB, free: 7.18 MB / 1.529 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/3.511, allocations: 189.1 kB / 2.052 GB, free: 6.957 MB / 1.529 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02408/3.535, allocations: 9.174 MB / 2.061 GB, free: 13.83 MB / 1.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001458/3.537, allocations: 129.6 kB / 2.062 GB, free: 13.7 MB / 1.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.007457/3.544, allocations: 5.183 MB / 2.067 GB, free: 8.492 MB / 1.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002707/3.547, allocations: 1.34 MB / 2.068 GB, free: 7.141 MB / 1.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005058/3.552, allocations: 1.274 MB / 2.069 GB, free: 5.855 MB / 1.545 GB Notification: Performance of setup shared object (initialization): time 0.0001156/3.552, allocations: 305.1 kB / 2.069 GB, free: 5.555 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/3.558, allocations: 2.377 MB / 2.072 GB, free: 3.164 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007421/3.565, allocations: 4.162 MB / 2.076 GB, free: 14.26 MB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/3.576, allocations: 6.052 MB / 2.082 GB, free: 7.613 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.257e-05/3.577, allocations: 12 kB / 2.082 GB, free: 7.602 MB / 1.561 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02591/3.602, allocations: 8.624 MB / 2.09 GB, free: 14.95 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-05/3.603, allocations: 24 kB / 2.09 GB, free: 14.93 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.46e-05/3.603, allocations: 40 kB / 2.09 GB, free: 14.89 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009351/3.612, allocations: 1.7 MB / 2.092 GB, free: 13.18 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006057/3.618, allocations: 1.236 MB / 2.093 GB, free: 11.94 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009163/3.627, allocations: 6.581 MB / 2.099 GB, free: 5.008 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/3.638, allocations: 404 kB / 2.1 GB, free: 4.613 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/3.639, allocations: 263.9 kB / 2.1 GB, free: 4.355 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01337/3.653, allocations: 4.306 MB / 2.104 GB, free: 40 kB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008961/3.662, allocations: 4.04 MB / 2.108 GB, free: 11.25 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01304/3.675, allocations: 5.85 MB / 2.114 GB, free: 4.812 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.95e-05/3.675, allocations: 12 kB / 2.114 GB, free: 4.801 MB / 1.592 GB Notification: Performance of matching and sorting (n=788) (initialization_lambda0): time 0.03499/3.71, allocations: 8.257 MB / 2.122 GB, free: 12.51 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/3.71, allocations: 20 kB / 2.122 GB, free: 12.49 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.951e-05/3.71, allocations: 44 kB / 2.122 GB, free: 12.45 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008629/3.719, allocations: 1.498 MB / 2.124 GB, free: 10.94 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006056/3.725, allocations: 1.193 MB / 2.125 GB, free: 9.742 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/3.738, allocations: 8.807 MB / 2.133 GB, free: 488 kB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/3.749, allocations: 428.5 kB / 2.134 GB, free: 60 kB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/3.75, allocations: 251.9 kB / 2.134 GB, free: 15.81 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 187 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conPIDRad.con1.y,conPIDBoi.con1.y,hysPum.y,$PRE.hysPum.y,and2.y,and1.y,hysTBoi.y,$PRE.hysTBoi.y,hysTOut.y,$PRE.hysTOut.y,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 (669): * Single equations (assignments): 660 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (13,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002651/3.753, allocations: 0.5225 MB / 2.135 GB, free: 15.28 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004192/3.757, allocations: 0.9741 MB / 2.135 GB, free: 14.3 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/3.77, allocations: 5.37 MB / 2.141 GB, free: 8.867 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007811/3.778, allocations: 3.974 MB / 2.145 GB, free: 4.836 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/3.778, allocations: 4 kB / 2.145 GB, free: 4.832 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005856/3.783, allocations: 1.591 MB / 2.146 GB, free: 3.215 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003455/3.787, allocations: 83.98 kB / 2.146 GB, free: 3.133 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007042/3.794, allocations: 251.7 kB / 2.146 GB, free: 2.887 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009083/3.795, allocations: 290.7 kB / 2.147 GB, free: 2.602 MB / 1.623 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01341/3.808, allocations: 5.056 MB / 2.152 GB, free: 13.49 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01431/3.823, allocations: 7.054 MB / 2.159 GB, free: 6.383 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003331/3.826, allocations: 1.875 MB / 2.16 GB, free: 4.496 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.01296/3.839, allocations: 6.076 MB / 2.166 GB, free: 14.46 MB / 1.654 GB Notification: Performance of Backend: time 1.332e-06/3.839, allocations: 0 / 2.166 GB, free: 14.46 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.03247/3.872, allocations: 10.78 MB / 2.177 GB, free: 3.812 MB / 1.654 GB Notification: Performance of SimCode: time 0.8359/4.708, allocations: 22.96 MB / 2.199 GB, free: 0.6688 GB / 1.67 GB Notification: Performance of Templates: time 0.3056/5.013, allocations: 205.5 MB / 2.4 GB, free: 0.5129 GB / 1.67 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System5.pipe 2>&1)