Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001075, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006689/0.006689, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 8.719 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3384, allocations: 162.2 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 1.007/1.346, allocations: 204.1 MB / 1.273 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03283/1.379, allocations: 19.04 MB / 1.292 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/1.384, allocations: 81.41 kB / 1.292 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01315/1.397, allocations: 4.267 MB / 1.296 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01271/1.41, allocations: 3.186 MB / 1.299 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008358/1.418, allocations: 2.245 MB / 1.302 GB, free: 5.172 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0009566033997876149}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02525/1.443, allocations: 16.6 MB / 1.318 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007845/1.451, allocations: 3.23 MB / 1.321 GB, free: 20.62 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008504/1.46, allocations: 2.833 MB / 1.324 GB, free: 20.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006929/1.467, allocations: 2.882 MB / 1.327 GB, free: 20.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001614/1.469, allocations: 151.9 kB / 1.327 GB, free: 20.57 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0083/1.477, allocations: 2.487 MB / 1.329 GB, free: 20.4 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002413/1.479, allocations: 1.044 MB / 1.33 GB, free: 20.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005465/1.485, allocations: 2.055 MB / 1.332 GB, free: 19.62 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0106/1.495, allocations: 7.049 MB / 1.339 GB, free: 17.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.495, allocations: 0 / 1.339 GB, free: 17.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.984e-06/1.495, allocations: 0 / 1.339 GB, free: 17.16 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001745/1.496, allocations: 3.938 kB / 1.339 GB, free: 17.16 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 589 * Number of variables: 589 Notification: Performance of Generate backend data structure: time 0.009109/1.505, allocations: 4.133 MB / 1.343 GB, free: 14.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.505, allocations: 9.406 kB / 1.343 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007236/1.512, allocations: 1.09 MB / 1.344 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/1.525, allocations: 4.95 MB / 1.349 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/1.525, allocations: 190.9 kB / 1.349 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/1.526, allocations: 251.7 kB / 1.349 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0076/1.534, allocations: 3.202 MB / 1.353 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/1.534, allocations: 2.906 kB / 1.353 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/1.534, allocations: 100.5 kB / 1.353 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.833e-05/1.534, allocations: 111 kB / 1.353 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/1.539, allocations: 2.668 MB / 1.355 GB, free: 8.895 MB / 1.014 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.02316/1.562, allocations: 13.53 MB / 1.369 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/1.566, allocations: 2.16 MB / 1.371 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/1.567, allocations: 0.9477 MB / 1.372 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/1.579, allocations: 4.51 MB / 1.376 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001879/1.58, allocations: 0.9809 MB / 1.377 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001955/1.582, allocations: 184.9 kB / 1.377 GB, free: 8.176 MB / 1.029 GB Notification: Performance of pre-optimization done (n=129): time 1.159e-05/1.583, allocations: 7.938 kB / 1.377 GB, free: 8.168 MB / 1.029 GB Notification: Performance of matching and sorting (n=132): time 0.01311/1.596, allocations: 5.469 MB / 1.382 GB, free: 4.793 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/1.596, allocations: 91.61 kB / 1.383 GB, free: 4.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006926/1.603, allocations: 3.49 MB / 1.386 GB, free: 2.898 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004171/1.603, allocations: 63.7 kB / 1.386 GB, free: 2.844 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.605, allocations: 1.67 MB / 1.388 GB, free: 1.211 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006109/1.605, allocations: 487.8 kB / 1.388 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/1.606, allocations: 238.8 kB / 1.388 GB, free: 0.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/1.606, allocations: 301.1 kB / 1.389 GB, free: 208 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/1.609, allocations: 1.197 MB / 1.39 GB, free: 15 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/1.612, allocations: 1.814 MB / 1.392 GB, free: 12.93 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005056/1.617, allocations: 2.788 MB / 1.394 GB, free: 9.922 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.951e-05/1.617, allocations: 8 kB / 1.394 GB, free: 9.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01104/1.628, allocations: 3.927 MB / 1.398 GB, free: 5.969 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005304/1.629, allocations: 0.5891 MB / 1.399 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.366e-05/1.629, allocations: 16 kB / 1.399 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007727/1.637, allocations: 1.167 MB / 1.4 GB, free: 3.961 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/1.639, allocations: 0.5109 MB / 1.4 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/1.646, allocations: 3.138 MB / 1.403 GB, free: 156 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/1.651, allocations: 264.4 kB / 1.404 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009668/1.652, allocations: 112 kB / 1.404 GB, free: 15.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.652, allocations: 4 kB / 1.404 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01126/1.663, allocations: 3.498 MB / 1.407 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-05/1.663, allocations: 16 kB / 1.407 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007656/1.671, allocations: 1.21 MB / 1.408 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/1.673, allocations: 0.4992 MB / 1.409 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/1.679, allocations: 3.137 MB / 1.412 GB, free: 7.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/1.683, allocations: 256.3 kB / 1.412 GB, free: 6.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005315/1.684, allocations: 112 kB / 1.412 GB, free: 6.887 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.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 (273): * Single equations (assignments): 269 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,6)} Notification: Performance of prepare postOptimizeDAE: time 0.003208/1.687, allocations: 1.192 MB / 1.413 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.689, allocations: 343.8 kB / 1.414 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005668/1.694, allocations: 2.305 MB / 1.416 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/1.694, allocations: 12 kB / 1.416 GB, free: 3.004 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.694, allocations: 4 kB / 1.416 GB, free: 3 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003662/1.698, allocations: 1.967 MB / 1.418 GB, free: 0.9453 MB / 1.061 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 postOpt removeSimpleEquations (simulation): time 0.01409/1.712, allocations: 5.162 MB / 1.423 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/1.712, allocations: 0 / 1.423 GB, free: 11.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/1.714, allocations: 295.7 kB / 1.423 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008997/1.715, allocations: 256.9 kB / 1.424 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.715, allocations: 43.97 kB / 1.424 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/1.722, allocations: 8.668 MB / 1.432 GB, free: 1.672 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.722, allocations: 4.031 kB / 1.432 GB, free: 1.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007387/1.73, allocations: 3.198 MB / 1.435 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002722/1.732, allocations: 0.641 MB / 1.436 GB, free: 13.76 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/1.734, allocations: 47.92 kB / 1.436 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003268/1.737, allocations: 161 kB / 1.436 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/1.737, allocations: 105.1 kB / 1.436 GB, free: 13.45 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/1.738, allocations: 71.94 kB / 1.436 GB, free: 13.38 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005969/1.744, allocations: 2.344 MB / 1.438 GB, free: 11.06 MB / 1.092 GB Notification: Performance of sort global known variables: time 5.11e-07/1.744, allocations: 4 kB / 1.438 GB, free: 11.05 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.009031/1.753, allocations: 1.664 MB / 1.44 GB, free: 9.391 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.s[1],pumRad.filter.s[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003071/1.756, allocations: 0.9819 MB / 1.441 GB, free: 8.605 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.769, allocations: 4.682 MB / 1.446 GB, free: 3.91 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.769, allocations: 4.562 kB / 1.446 GB, free: 3.906 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/1.772, allocations: 1.575 MB / 1.447 GB, free: 2.254 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/1.785, allocations: 1.867 MB / 1.449 GB, free: 424 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.804, allocations: 8.619 MB / 1.457 GB, free: 7.773 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003508/1.807, allocations: 2.562 MB / 1.46 GB, free: 5.188 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.006278/1.814, allocations: 1.211 MB / 1.461 GB, free: 3.973 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/1.815, allocations: 271.3 kB / 1.461 GB, free: 3.707 MB / 1.107 GB Notification: Performance of SimCode: time 2.615e-06/1.815, allocations: 0 / 1.461 GB, free: 3.707 MB / 1.107 GB Notification: Performance of Templates: time 0.1572/1.972, allocations: 78.36 MB / 1.538 GB, free: 6.051 MB / 1.186 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)