Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.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.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001986/0.001986, allocations: 114.2 kB / 16.42 MB, free: 6.504 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.001983/0.001983, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9541/0.9556, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.06537/1.021, allocations: 57.88 MB / 1.283 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01802/1.039, allocations: 11.87 MB / 1.294 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002922/1.042, allocations: 55.69 kB / 1.294 GB, free: 7.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003902/1.046, allocations: 1.285 MB / 1.296 GB, free: 6.195 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007491/1.054, allocations: 2.216 MB / 1.298 GB, free: 3.969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004991/1.059, allocations: 1.606 MB / 1.299 GB, free: 2.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00667/1.065, allocations: 3.908 MB / 1.303 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002685/1.068, allocations: 1.335 MB / 1.305 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/1.072, allocations: 1.454 MB / 1.306 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002353/1.074, allocations: 1.208 MB / 1.307 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005264/1.075, allocations: 140 kB / 1.307 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/1.079, allocations: 1.646 MB / 1.309 GB, free: 8.645 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0008365/1.08, allocations: 0.5762 MB / 1.31 GB, free: 8.066 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001941/1.082, allocations: 1.065 MB / 1.311 GB, free: 6.996 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.006138/1.088, allocations: 3.453 MB / 1.314 GB, free: 3.531 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.088, allocations: 0 / 1.314 GB, free: 3.531 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/1.088, allocations: 0 / 1.314 GB, free: 3.531 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.293e-05/1.088, allocations: 0 / 1.314 GB, free: 3.531 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005491/1.094, allocations: 2.786 MB / 1.317 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.094, allocations: 12.03 kB / 1.317 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/1.094, allocations: 271.3 kB / 1.317 GB, free: 388 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/1.098, allocations: 1.955 MB / 1.319 GB, free: 14.35 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/1.098, allocations: 74 kB / 1.319 GB, free: 14.28 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/1.098, allocations: 96 kB / 1.319 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/1.1, allocations: 1.027 MB / 1.32 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/1.1, allocations: 11.98 kB / 1.32 GB, free: 13.11 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-05/1.1, allocations: 36 kB / 1.32 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/1.1, allocations: 28 kB / 1.32 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/1.102, allocations: 0.7339 MB / 1.321 GB, free: 12.32 MB / 1.045 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.006886/1.108, allocations: 4.785 MB / 1.325 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/1.109, allocations: 457.1 kB / 1.326 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004768/1.11, allocations: 330.4 kB / 1.326 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.111, allocations: 0.8238 MB / 1.327 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006532/1.111, allocations: 409.9 kB / 1.327 GB, free: 5.094 MB / 1.045 GB Notification: Performance of pre-optimization done (n=65): time 2.766e-06/1.111, allocations: 0 / 1.327 GB, free: 5.094 MB / 1.045 GB Notification: Performance of matching and sorting (n=67): time 0.005179/1.116, allocations: 2.591 MB / 1.33 GB, free: 2.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/1.116, allocations: 119.4 kB / 1.33 GB, free: 2.246 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004168/1.121, allocations: 2.759 MB / 1.333 GB, free: 15.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.918e-05/1.121, allocations: 45.7 kB / 1.333 GB, free: 15.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/1.122, allocations: 0.9121 MB / 1.334 GB, free: 14.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/1.122, allocations: 218.1 kB / 1.334 GB, free: 14.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/1.122, allocations: 166.5 kB / 1.334 GB, free: 14.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.122, allocations: 338 kB / 1.334 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/1.123, allocations: 268.7 kB / 1.335 GB, free: 13.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/1.123, allocations: 490.3 kB / 1.335 GB, free: 12.94 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/1.125, allocations: 0.7965 MB / 1.336 GB, free: 12.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.125, allocations: 4 kB / 1.336 GB, free: 12.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002063/1.127, allocations: 1.137 MB / 1.337 GB, free: 10.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/1.127, allocations: 76.94 kB / 1.337 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.127, allocations: 4 kB / 1.337 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/1.127, allocations: 118.2 kB / 1.337 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/1.128, allocations: 139.7 kB / 1.337 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.13, allocations: 2.363 MB / 1.34 GB, free: 8.008 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.131, allocations: 55.95 kB / 1.34 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/1.131, allocations: 35.98 kB / 1.34 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/1.132, allocations: 0.7283 MB / 1.34 GB, free: 7.184 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006342/1.133, allocations: 477.7 kB / 1.341 GB, free: 6.637 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001088/1.134, allocations: 0.8004 MB / 1.342 GB, free: 5.758 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.123e-06/1.134, allocations: 11.88 kB / 1.342 GB, free: 5.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.002115/1.136, allocations: 1.126 MB / 1.343 GB, free: 4.594 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/1.136, allocations: 71.39 kB / 1.343 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.136, allocations: 4 kB / 1.343 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004104/1.137, allocations: 133.4 kB / 1.343 GB, free: 4.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/1.137, allocations: 127.8 kB / 1.343 GB, free: 4.246 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/1.139, allocations: 2.371 MB / 1.345 GB, free: 1.711 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.14, allocations: 47.95 kB / 1.345 GB, free: 1.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.226e-05/1.14, allocations: 35.98 kB / 1.345 GB, free: 1.629 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003396/1.141, allocations: 307.3 kB / 1.346 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/1.141, allocations: 218.6 kB / 1.346 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/1.143, allocations: 1.179 MB / 1.347 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001498/1.145, allocations: 0.9261 MB / 1.348 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.145, allocations: 0 / 1.348 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.146, allocations: 407.6 kB / 1.348 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005807/1.147, allocations: 16 kB / 1.348 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009953/1.148, allocations: 35.97 kB / 1.348 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.148, allocations: 44.5 kB / 1.348 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002075/1.15, allocations: 1.134 MB / 1.35 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002317/1.152, allocations: 1.522 MB / 1.351 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004884/1.153, allocations: 360.4 kB / 1.351 GB, free: 11.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003119/1.156, allocations: 1.964 MB / 1.353 GB, free: 9.324 MB / 1.076 GB Notification: Performance of Backend: time 7.61e-07/1.156, allocations: 4 kB / 1.353 GB, free: 9.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005801/1.162, allocations: 2.488 MB / 1.356 GB, free: 6.949 MB / 1.076 GB Notification: Performance of SimCode: time 0.008095/1.17, allocations: 4.414 MB / 1.36 GB, free: 2.461 MB / 1.076 GB Notification: Performance of Templates: time 0.06339/1.233, allocations: 36.85 MB / 1.396 GB, free: 13.94 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)