Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001521/0.001521, allocations: 109.1 kB / 16.41 MB, free: 6.469 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.001975/0.001975, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.448/1.448, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.636/2.636, allocations: 469.4 MB / 0.7428 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.91 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.039, allocations: 159.1 MB / 1.221 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System4): time 1.672/2.711, allocations: 0.5098 GB / 1.731 GB, free: 42.23 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1091/2.82, allocations: 67.99 MB / 1.797 GB, free: 16.53 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02971/2.85, allocations: 415.2 kB / 1.797 GB, free: 16.27 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02012/2.87, allocations: 5.77 MB / 1.803 GB, free: 12.1 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.04909/2.919, allocations: 14.12 MB / 1.817 GB, free: 14.54 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02962/2.949, allocations: 9.56 MB / 1.826 GB, free: 5.055 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.05898/3.008, allocations: 36.73 MB / 1.862 GB, free: 244 kB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.024/3.032, allocations: 11.08 MB / 1.873 GB, free: 5.031 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03064/3.063, allocations: 11.89 MB / 1.884 GB, free: 9.148 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01851/3.081, allocations: 8.757 MB / 1.893 GB, free: 368 kB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.005959/3.087, allocations: 1.09 MB / 1.894 GB, free: 15.27 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0214/3.109, allocations: 6.115 MB / 1.9 GB, free: 9.145 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.006897/3.116, allocations: 3.309 MB / 1.903 GB, free: 5.824 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.0164/3.132, allocations: 6.648 MB / 1.91 GB, free: 15.14 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.03756/3.17, allocations: 19.05 MB / 1.928 GB, free: 12.04 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/3.17, allocations: 4 kB / 1.928 GB, free: 12.04 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.104e-06/3.17, allocations: 0 / 1.928 GB, free: 12.04 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.0008491/3.171, allocations: 0 / 1.928 GB, free: 12.04 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: 1628 * Number of variables: 1628 Notification: Performance of Generate backend data structure: time 0.03589/3.207, allocations: 13 MB / 1.941 GB, free: 14.89 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/3.207, allocations: 12.58 kB / 1.941 GB, free: 14.88 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/3.22, allocations: 2.101 MB / 1.943 GB, free: 12.76 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03107/3.251, allocations: 11.84 MB / 1.955 GB, free: 0.832 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006138/3.252, allocations: 0.4928 MB / 1.955 GB, free: 344 kB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002691/3.254, allocations: 0.6795 MB / 1.956 GB, free: 15.66 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02283/3.277, allocations: 7.65 MB / 1.963 GB, free: 7.715 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003217/3.278, allocations: 23.72 kB / 1.963 GB, free: 7.691 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001924/3.279, allocations: 272 kB / 1.964 GB, free: 7.426 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002926/3.28, allocations: 264 kB / 1.964 GB, free: 7.164 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01697/3.297, allocations: 5.938 MB / 1.97 GB, free: 1.207 MB / 1.436 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.07739/3.374, allocations: 38.95 MB / 2.008 GB, free: 7.492 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/3.382, allocations: 3.934 MB / 2.012 GB, free: 3.449 MB / 1.482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004186/3.386, allocations: 2.1 MB / 2.014 GB, free: 1.352 MB / 1.482 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.02797/3.414, allocations: 9.618 MB / 2.023 GB, free: 7.238 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005312/3.42, allocations: 2.083 MB / 2.025 GB, free: 5.117 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004597/3.424, allocations: 336.3 kB / 2.025 GB, free: 4.785 MB / 1.498 GB Notification: Performance of pre-optimization done (n=329): time 2.165e-05/3.424, allocations: 0 / 2.025 GB, free: 4.785 MB / 1.498 GB Notification: Performance of matching and sorting (n=337): time 0.04047/3.465, allocations: 12.92 MB / 2.038 GB, free: 7.582 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/3.465, allocations: 115.8 kB / 2.038 GB, free: 7.449 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02221/3.487, allocations: 8.948 MB / 2.047 GB, free: 14.54 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.001245/3.489, allocations: 117.7 kB / 2.047 GB, free: 14.42 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.006807/3.495, allocations: 4.907 MB / 2.052 GB, free: 9.477 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.002616/3.498, allocations: 1.198 MB / 2.053 GB, free: 8.262 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005002/3.503, allocations: 1.214 MB / 2.054 GB, free: 7.035 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 0.0001103/3.503, allocations: 301.1 kB / 2.054 GB, free: 6.738 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005595/3.509, allocations: 2.281 MB / 2.057 GB, free: 4.438 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007029/3.516, allocations: 3.972 MB / 2.06 GB, free: 15.75 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/3.526, allocations: 5.803 MB / 2.066 GB, free: 9.379 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.797e-05/3.527, allocations: 16 kB / 2.066 GB, free: 9.363 MB / 1.545 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02387/3.55, allocations: 7.984 MB / 2.074 GB, free: 1.332 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/3.551, allocations: 24 kB / 2.074 GB, free: 1.309 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.358e-05/3.551, allocations: 40.91 kB / 2.074 GB, free: 1.27 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009179/3.56, allocations: 1.705 MB / 2.076 GB, free: 15.55 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00572/3.566, allocations: 1.166 MB / 2.077 GB, free: 14.38 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/3.575, allocations: 6.584 MB / 2.083 GB, free: 7.453 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00948/3.584, allocations: 371.9 kB / 2.084 GB, free: 7.09 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/3.586, allocations: 255.9 kB / 2.084 GB, free: 6.84 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01174/3.598, allocations: 4.2 MB / 2.088 GB, free: 2.629 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007126/3.605, allocations: 3.898 MB / 2.092 GB, free: 14.01 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01071/3.616, allocations: 5.648 MB / 2.097 GB, free: 7.785 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.671e-05/3.616, allocations: 11.98 kB / 2.097 GB, free: 7.773 MB / 1.576 GB Notification: Performance of matching and sorting (n=752) (initialization_lambda0): time 0.02431/3.64, allocations: 7.987 MB / 2.105 GB, free: 15.74 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/3.64, allocations: 21.72 kB / 2.105 GB, free: 15.72 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.171e-05/3.64, allocations: 47.97 kB / 2.105 GB, free: 15.67 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008256/3.648, allocations: 1.502 MB / 2.107 GB, free: 14.16 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/3.654, allocations: 1.147 MB / 2.108 GB, free: 13.01 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/3.667, allocations: 8.775 MB / 2.116 GB, free: 3.773 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009264/3.676, allocations: 408.5 kB / 2.117 GB, free: 3.375 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/3.678, allocations: 243.9 kB / 2.117 GB, free: 3.137 MB / 1.592 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.002394/3.68, allocations: 0.503 MB / 2.117 GB, free: 2.625 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004561/3.685, allocations: 0.8949 MB / 2.118 GB, free: 1.719 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/3.701, allocations: 5.131 MB / 2.123 GB, free: 12.52 MB / 1.607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008602/3.709, allocations: 3.797 MB / 2.127 GB, free: 8.668 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/3.71, allocations: 0 / 2.127 GB, free: 8.668 MB / 1.607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007127/3.717, allocations: 1.501 MB / 2.128 GB, free: 7.137 MB / 1.607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003907/3.721, allocations: 79.98 kB / 2.129 GB, free: 7.059 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007467/3.728, allocations: 235.7 kB / 2.129 GB, free: 6.828 MB / 1.607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008718/3.729, allocations: 282.5 kB / 2.129 GB, free: 6.551 MB / 1.607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01296/3.742, allocations: 4.812 MB / 2.134 GB, free: 1.672 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01427/3.756, allocations: 6.654 MB / 2.14 GB, free: 10.96 MB / 1.623 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00323/3.76, allocations: 1.772 MB / 2.142 GB, free: 9.176 MB / 1.623 GB Notification: Performance of sorting global known variables: time 0.01541/3.775, allocations: 5.92 MB / 2.148 GB, free: 3.293 MB / 1.623 GB Notification: Performance of Backend: time 1.002e-06/3.775, allocations: 0 / 2.148 GB, free: 3.293 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.0369/3.812, allocations: 10.44 MB / 2.158 GB, free: 8.965 MB / 1.639 GB Notification: Performance of SimCode: time 0.05835/3.87, allocations: 22 MB / 2.179 GB, free: 3.082 MB / 1.654 GB Notification: Performance of Templates: time 1.891/5.762, allocations: 202 MB / 2.377 GB, free: 0.5348 GB / 1.67 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System4.pipe 2>&1)