Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.System4,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_9_Buildings.Examples.Tutorial.Boiler.System4") translateModel(Buildings.Examples.Tutorial.Boiler.System4,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_9_Buildings.Examples.Tutorial.Boiler.System4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 108 kB / 16.42 MB, free: 6.449 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.001491/0.001491, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9949/0.9965, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumRad.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumBoi.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.625/2.622, allocations: 0.509 GB / 1.598 GB, free: 86.05 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.109/2.731, allocations: 65.92 MB / 1.662 GB, free: 85.49 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02495/2.756, allocations: 409.5 kB / 1.662 GB, free: 85.49 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.02094/2.777, allocations: 4.93 MB / 1.667 GB, free: 85.41 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.05486/2.832, allocations: 13.81 MB / 1.681 GB, free: 84.86 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.03266/2.864, allocations: 9.354 MB / 1.69 GB, free: 84.59 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.05659/2.921, allocations: 30.91 MB / 1.72 GB, free: 84.5 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02865/2.95, allocations: 10.99 MB / 1.731 GB, free: 81.63 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03671/2.986, allocations: 11.88 MB / 1.742 GB, free: 76.72 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02251/3.009, allocations: 8.618 MB / 1.751 GB, free: 72.53 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.007266/3.016, allocations: 1.075 MB / 1.752 GB, free: 72.52 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02663/3.043, allocations: 5.919 MB / 1.758 GB, free: 69.88 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.007449/3.05, allocations: 3.028 MB / 1.76 GB, free: 66.98 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01981/3.07, allocations: 6.273 MB / 1.767 GB, free: 60.83 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.04219/3.112, allocations: 17.94 MB / 1.784 GB, free: 43.56 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/3.112, allocations: 0 / 1.784 GB, free: 43.56 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.803e-06/3.112, allocations: 0 / 1.784 GB, free: 43.56 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0007559/3.113, allocations: 4 kB / 1.784 GB, free: 43.56 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1620 * Number of variables: 1620 Notification: Performance of Generate backend data structure: time 0.03502/3.148, allocations: 12.16 MB / 1.796 GB, free: 31.48 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/3.148, allocations: 8.031 kB / 1.796 GB, free: 31.48 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/3.161, allocations: 2.004 MB / 1.798 GB, free: 29.46 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02742/3.188, allocations: 9.804 MB / 1.808 GB, free: 19.99 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007042/3.189, allocations: 0.4957 MB / 1.808 GB, free: 19.49 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/3.192, allocations: 0.6715 MB / 1.809 GB, free: 18.82 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/3.215, allocations: 7.641 MB / 1.816 GB, free: 10.93 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003865/3.215, allocations: 21 kB / 1.816 GB, free: 10.92 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002235/3.217, allocations: 270.6 kB / 1.816 GB, free: 10.66 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002579/3.217, allocations: 263.5 kB / 1.817 GB, free: 10.4 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/3.234, allocations: 5.941 MB / 1.822 GB, free: 4.5 MB / 1.311 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.07483/3.309, allocations: 38.25 MB / 1.86 GB, free: 12.18 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/3.317, allocations: 4.008 MB / 1.864 GB, free: 8.094 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004726/3.322, allocations: 2.119 MB / 1.866 GB, free: 5.977 MB / 1.357 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.02902/3.351, allocations: 9.512 MB / 1.875 GB, free: 12.07 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005293/3.356, allocations: 2.129 MB / 1.877 GB, free: 9.902 MB / 1.373 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004562/3.361, allocations: 304.7 kB / 1.877 GB, free: 9.602 MB / 1.373 GB Notification: Performance of pre-optimization done (n=331): time 1.775e-05/3.361, allocations: 3.094 kB / 1.878 GB, free: 9.602 MB / 1.373 GB Notification: Performance of matching and sorting (n=339): time 0.03848/3.399, allocations: 12.91 MB / 1.89 GB, free: 12.46 MB / 1.389 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/3.4, allocations: 111.8 kB / 1.89 GB, free: 12.33 MB / 1.389 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01812/3.418, allocations: 7.763 MB / 1.898 GB, free: 4.621 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.001375/3.419, allocations: 120.7 kB / 1.898 GB, free: 4.5 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.006326/3.425, allocations: 4.586 MB / 1.902 GB, free: 15.9 MB / 1.404 GB Notification: Performance of collectInitialBindings (initialization): time 0.00256/3.428, allocations: 1.194 MB / 1.904 GB, free: 14.72 MB / 1.404 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003963/3.432, allocations: 0.9963 MB / 1.905 GB, free: 13.71 MB / 1.404 GB Notification: Performance of setup shared object (initialization): time 0.0001129/3.432, allocations: 305.1 kB / 1.905 GB, free: 13.41 MB / 1.404 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004952/3.437, allocations: 1.956 MB / 1.907 GB, free: 11.43 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006839/3.444, allocations: 3.522 MB / 1.91 GB, free: 7.246 MB / 1.404 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/3.456, allocations: 5.182 MB / 1.915 GB, free: 1.676 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.894e-05/3.456, allocations: 12 kB / 1.915 GB, free: 1.664 MB / 1.404 GB Notification: Performance of matching and sorting (n=620) (initialization): time 0.02117/3.477, allocations: 7.085 MB / 1.922 GB, free: 10.8 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/3.477, allocations: 28.03 kB / 1.922 GB, free: 10.77 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.083e-05/3.478, allocations: 36 kB / 1.922 GB, free: 10.73 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00897/3.487, allocations: 1.675 MB / 1.924 GB, free: 9.059 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/3.491, allocations: 1.074 MB / 1.925 GB, free: 8.051 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009111/3.5, allocations: 6.594 MB / 1.931 GB, free: 1.156 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008334/3.509, allocations: 341.3 kB / 1.932 GB, free: 0.8242 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009683/3.51, allocations: 235.9 kB / 1.932 GB, free: 0.5938 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00934/3.519, allocations: 3.624 MB / 1.935 GB, free: 12.96 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007451/3.527, allocations: 3.43 MB / 1.939 GB, free: 8.855 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0103/3.537, allocations: 4.978 MB / 1.944 GB, free: 3.484 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.895e-05/3.537, allocations: 12 kB / 1.944 GB, free: 3.473 MB / 1.436 GB Notification: Performance of matching and sorting (n=620) (initialization_lambda0): time 0.02011/3.557, allocations: 6.857 MB / 1.95 GB, free: 12.84 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/3.557, allocations: 20 kB / 1.95 GB, free: 12.82 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-05/3.557, allocations: 40 kB / 1.95 GB, free: 12.78 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008059/3.565, allocations: 1.501 MB / 1.952 GB, free: 11.27 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/3.57, allocations: 1.05 MB / 1.953 GB, free: 10.29 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/3.584, allocations: 8.971 MB / 1.962 GB, free: 0.9453 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008817/3.593, allocations: 361.8 kB / 1.962 GB, free: 0.5898 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001111/3.594, allocations: 227.9 kB / 1.962 GB, free: 376 kB / 1.451 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,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 (565): * Single equations (assignments): 558 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(4,7), (13,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002449/3.597, allocations: 490.1 kB / 1.963 GB, free: 15.95 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004133/3.601, allocations: 0.8372 MB / 1.964 GB, free: 15.1 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/3.617, allocations: 5.159 MB / 1.969 GB, free: 9.926 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008192/3.625, allocations: 3.839 MB / 1.972 GB, free: 6.066 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/3.625, allocations: 0 / 1.972 GB, free: 6.066 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005797/3.631, allocations: 1.381 MB / 1.974 GB, free: 4.656 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003126/3.634, allocations: 76 kB / 1.974 GB, free: 4.582 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006895/3.641, allocations: 239.6 kB / 1.974 GB, free: 4.348 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007132/3.641, allocations: 274.5 kB / 1.974 GB, free: 4.078 MB / 1.467 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01313/3.655, allocations: 4.881 MB / 1.979 GB, free: 15.21 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01581/3.67, allocations: 6.671 MB / 1.985 GB, free: 8.48 MB / 1.482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003251/3.674, allocations: 1.8 MB / 1.987 GB, free: 6.672 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.01548/3.689, allocations: 5.153 MB / 1.992 GB, free: 1.566 MB / 1.482 GB Notification: Performance of Backend: time 2.084e-06/3.689, allocations: 0 / 1.992 GB, free: 1.566 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.04169/3.731, allocations: 9.405 MB / 2.001 GB, free: 8.707 MB / 1.498 GB Notification: Performance of SimCode: time 0.05621/3.787, allocations: 20.36 MB / 2.021 GB, free: 4.551 MB / 1.514 GB Notification: Performance of Templates: time 1.857/5.644, allocations: 186.2 MB / 2.203 GB, free: 0.7567 GB / 1.67 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.sim & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1)