Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001303/0.001303, allocations: 120.2 kB / 16.81 MB, free: 5.758 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.001308/0.001308, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.491/1.491, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.776/2.776, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.27 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4065, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.579/1.985, allocations: 0.5129 GB / 1.775 GB, free: 14.4 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1248/2.11, allocations: 68.12 MB / 1.841 GB, free: 13.23 MB / 1.342 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02003/2.13, allocations: 413.6 kB / 1.842 GB, free: 12.83 MB / 1.342 GB Notification: Performance of NFTyping.typeComponents: time 0.02309/2.153, allocations: 5.824 MB / 1.848 GB, free: 6.973 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.05534/2.209, allocations: 14.13 MB / 1.861 GB, free: 8.801 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.03064/2.239, allocations: 9.686 MB / 1.871 GB, free: 15.19 MB / 1.373 GB Notification: Performance of NFFlatten.flatten: time 0.0693/2.309, allocations: 36.85 MB / 1.907 GB, free: 10.25 MB / 1.404 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02321/2.332, allocations: 9.133 MB / 1.916 GB, free: 0.9883 MB / 1.404 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03567/2.367, allocations: 11.9 MB / 1.927 GB, free: 5.094 MB / 1.42 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02251/2.39, allocations: 9.211 MB / 1.936 GB, free: 11.85 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.006551/2.396, allocations: 1.09 MB / 1.937 GB, free: 10.76 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/2.421, allocations: 6.248 MB / 1.943 GB, free: 4.5 MB / 1.436 GB Notification: Performance of NFScalarize.scalarize: time 0.00831/2.43, allocations: 3.452 MB / 1.947 GB, free: 1.035 MB / 1.436 GB Notification: Performance of NFVerifyModel.verify: time 0.0203/2.45, allocations: 6.64 MB / 1.953 GB, free: 10.36 MB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.05402/2.504, allocations: 19.12 MB / 1.972 GB, free: 7.172 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/2.504, allocations: 7.938 kB / 1.972 GB, free: 7.164 MB / 1.467 GB Notification: Performance of FrontEnd: time 1.954e-06/2.504, allocations: 0 / 1.972 GB, free: 7.164 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0008267/2.505, allocations: 0 / 1.972 GB, free: 7.164 MB / 1.467 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1628 * Number of variables: 1628 Notification: Performance of Generate backend data structure: time 0.04502/2.55, allocations: 13.4 MB / 1.985 GB, free: 9.617 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/2.55, allocations: 11.98 kB / 1.985 GB, free: 9.605 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/2.564, allocations: 2.159 MB / 1.987 GB, free: 7.438 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03155/2.595, allocations: 11.92 MB / 1.999 GB, free: 11.43 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006402/2.596, allocations: 0.5006 MB / 1.999 GB, free: 10.93 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002529/2.599, allocations: 0.6834 MB / 2 GB, free: 10.25 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02223/2.621, allocations: 7.658 MB / 2.008 GB, free: 2.297 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003131/2.621, allocations: 19.83 kB / 2.008 GB, free: 2.277 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002014/2.623, allocations: 272 kB / 2.008 GB, free: 2.012 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003257/2.623, allocations: 260.1 kB / 2.008 GB, free: 1.754 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/2.641, allocations: 5.949 MB / 2.014 GB, free: 11.78 MB / 1.514 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.07163/2.713, allocations: 39.04 MB / 2.052 GB, free: 1.992 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007122/2.72, allocations: 3.707 MB / 2.056 GB, free: 14.18 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00404/2.724, allocations: 1.909 MB / 2.057 GB, free: 12.26 MB / 1.561 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.0254/2.749, allocations: 9.634 MB / 2.067 GB, free: 2.141 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004385/2.754, allocations: 2.087 MB / 2.069 GB, free: 16 kB / 1.561 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003624/2.757, allocations: 337.6 kB / 2.069 GB, free: 15.68 MB / 1.576 GB Notification: Performance of pre-optimization done (n=329): time 8.877e-06/2.757, allocations: 0 / 2.069 GB, free: 15.68 MB / 1.576 GB Notification: Performance of matching and sorting (n=337): time 0.04008/2.798, allocations: 13.1 MB / 2.082 GB, free: 2.312 MB / 1.576 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.567e-05/2.798, allocations: 111.8 kB / 2.082 GB, free: 2.184 MB / 1.576 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/2.816, allocations: 8.949 MB / 2.091 GB, free: 9.27 MB / 1.592 GB Notification: Performance of collectPreVariables (initialization): time 0.00143/2.818, allocations: 117.7 kB / 2.091 GB, free: 9.148 MB / 1.592 GB Notification: Performance of collectInitialEqns (initialization): time 0.006883/2.825, allocations: 4.99 MB / 2.096 GB, free: 4.137 MB / 1.592 GB Notification: Performance of collectInitialBindings (initialization): time 0.002229/2.827, allocations: 1.251 MB / 2.097 GB, free: 2.875 MB / 1.592 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002433/2.829, allocations: 1.222 MB / 2.098 GB, free: 1.641 MB / 1.592 GB Notification: Performance of setup shared object (initialization): time 0.0001207/2.829, allocations: 301.1 kB / 2.099 GB, free: 1.344 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004872/2.834, allocations: 2.285 MB / 2.101 GB, free: 15.04 MB / 1.607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006612/2.841, allocations: 3.976 MB / 2.105 GB, free: 10.35 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/2.852, allocations: 5.807 MB / 2.11 GB, free: 3.977 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.886e-05/2.852, allocations: 12 kB / 2.11 GB, free: 3.965 MB / 1.607 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0226/2.875, allocations: 8.006 MB / 2.118 GB, free: 11.92 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/2.875, allocations: 26.64 kB / 2.118 GB, free: 11.89 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-05/2.875, allocations: 44.09 kB / 2.118 GB, free: 11.85 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009477/2.884, allocations: 1.682 MB / 2.12 GB, free: 10.16 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005617/2.89, allocations: 1.17 MB / 2.121 GB, free: 8.984 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009816/2.9, allocations: 6.613 MB / 2.127 GB, free: 2.02 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009659/2.909, allocations: 368 kB / 2.128 GB, free: 1.66 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001476/2.911, allocations: 251.9 kB / 2.128 GB, free: 1.414 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01106/2.922, allocations: 4.204 MB / 2.132 GB, free: 13.2 MB / 1.639 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007217/2.929, allocations: 3.895 MB / 2.136 GB, free: 8.582 MB / 1.639 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01074/2.94, allocations: 5.651 MB / 2.141 GB, free: 2.352 MB / 1.639 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.194e-05/2.94, allocations: 12 kB / 2.142 GB, free: 2.34 MB / 1.639 GB Notification: Performance of matching and sorting (n=752) (initialization_lambda0): time 0.02379/2.964, allocations: 8.008 MB / 2.149 GB, free: 10.29 MB / 1.654 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/2.964, allocations: 20 kB / 2.149 GB, free: 10.27 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.036e-05/2.964, allocations: 40 kB / 2.149 GB, free: 10.23 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008558/2.972, allocations: 1.499 MB / 2.151 GB, free: 8.719 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/2.978, allocations: 1.154 MB / 2.152 GB, free: 7.562 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/2.99, allocations: 8.78 MB / 2.161 GB, free: 14.33 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0089/2.999, allocations: 404.6 kB / 2.161 GB, free: 13.93 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/3.001, allocations: 243.9 kB / 2.161 GB, free: 13.7 MB / 1.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 180 * 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 (633): * Single equations (assignments): 624 * 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 {(4,7), (13,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001626/3.002, allocations: 0.5069 MB / 2.162 GB, free: 13.18 MB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/3.006, allocations: 0.9469 MB / 2.163 GB, free: 12.23 MB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/3.018, allocations: 5.108 MB / 2.168 GB, free: 7.055 MB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007593/3.025, allocations: 3.781 MB / 2.171 GB, free: 3.211 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/3.025, allocations: 0 / 2.171 GB, free: 3.211 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005474/3.031, allocations: 1.545 MB / 2.173 GB, free: 1.641 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002697/3.034, allocations: 72 kB / 2.173 GB, free: 1.57 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007312/3.041, allocations: 247.6 kB / 2.173 GB, free: 1.328 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009335/3.042, allocations: 278.4 kB / 2.173 GB, free: 1.055 MB / 1.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01303/3.055, allocations: 4.813 MB / 2.178 GB, free: 12.18 MB / 1.686 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01447/3.069, allocations: 6.714 MB / 2.185 GB, free: 5.402 MB / 1.686 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003191/3.072, allocations: 1.651 MB / 2.186 GB, free: 3.742 MB / 1.686 GB Notification: Performance of sorting global known variables: time 1.635/4.708, allocations: 5.916 MB / 2.192 GB, free: 0.6542 GB / 1.686 GB Notification: Performance of Backend: time 1.002e-06/4.708, allocations: 0.5312 kB / 2.192 GB, free: 0.6542 GB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.03678/4.745, allocations: 9.895 MB / 2.202 GB, free: 0.6522 GB / 1.686 GB Notification: Performance of SimCode: time 0.05846/4.803, allocations: 22.39 MB / 2.224 GB, free: 0.6431 GB / 1.686 GB Notification: Performance of Templates: time 0.2933/5.097, allocations: 205.3 MB / 2.424 GB, free: 482.9 MB / 1.686 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System4.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System4.sim & ./Buildings_11_Buildings.Examples.Tutorial.Boiler.System4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1)