Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.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.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct") translateModel(Buildings.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 90.52 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.009557/0.009557, allocations: 171.1 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.509/1.509, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.996/2.996, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004409, allocations: 6.469 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Direct): time 0.147/0.5444, allocations: 151.9 MB / 1.222 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9125/1.457, allocations: 33.98 MB / 1.256 GB, free: 33.11 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00956/1.467, allocations: 149 kB / 1.256 GB, free: 33.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01557/1.482, allocations: 5.072 MB / 1.261 GB, free: 33.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01906/1.501, allocations: 4.865 MB / 1.265 GB, free: 33.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01292/1.514, allocations: 3.954 MB / 1.269 GB, free: 32.97 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.0008642353850853692}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02989/1.544, allocations: 16.67 MB / 1.286 GB, free: 32.94 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00833/1.552, allocations: 2.921 MB / 1.288 GB, free: 32.58 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/1.565, allocations: 3.482 MB / 1.292 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007935/1.572, allocations: 2.811 MB / 1.295 GB, free: 32.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/1.574, allocations: 134.4 kB / 1.295 GB, free: 32.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/1.584, allocations: 2.601 MB / 1.297 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002461/1.587, allocations: 0.8792 MB / 1.298 GB, free: 32.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007388/1.594, allocations: 2.091 MB / 1.3 GB, free: 31.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02424/1.619, allocations: 7.048 MB / 1.307 GB, free: 30.56 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/1.619, allocations: 0 / 1.307 GB, free: 30.56 MB / 0.9981 GB Notification: Performance of FrontEnd: time 5.491e-06/1.619, allocations: 7 kB / 1.307 GB, free: 30.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004172/1.619, allocations: 0 / 1.307 GB, free: 30.55 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 567 * Number of variables: 567 Notification: Performance of Generate backend data structure: time 0.01434/1.633, allocations: 4.134 MB / 1.311 GB, free: 28.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.634, allocations: 9.766 kB / 1.311 GB, free: 28.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/1.637, allocations: 0.5818 MB / 1.312 GB, free: 28.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009991/1.647, allocations: 4.551 MB / 1.316 GB, free: 27.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/1.647, allocations: 182.4 kB / 1.316 GB, free: 27.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005517/1.648, allocations: 243.5 kB / 1.317 GB, free: 27.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004847/1.652, allocations: 2.474 MB / 1.319 GB, free: 26.44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/1.652, allocations: 9.781 kB / 1.319 GB, free: 26.44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/1.653, allocations: 98.92 kB / 1.319 GB, free: 26.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-05/1.653, allocations: 89.88 kB / 1.319 GB, free: 26.42 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/1.656, allocations: 1.879 MB / 1.321 GB, free: 26.14 MB / 0.9981 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.01646/1.673, allocations: 13.11 MB / 1.334 GB, free: 17.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/1.675, allocations: 1.243 MB / 1.335 GB, free: 17.33 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/1.676, allocations: 0.68 MB / 1.336 GB, free: 17.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006864/1.683, allocations: 4.249 MB / 1.34 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/1.684, allocations: 0.7341 MB / 1.341 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001796/1.686, allocations: 171.8 kB / 1.341 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=124): time 5.049e-06/1.686, allocations: 3.844 kB / 1.341 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=124): time 0.006313/1.692, allocations: 2.288 MB / 1.343 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/1.693, allocations: 118.5 kB / 1.343 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007299/1.7, allocations: 3.465 MB / 1.346 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004277/1.7, allocations: 59.58 kB / 1.346 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/1.702, allocations: 1.756 MB / 1.348 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000661/1.703, allocations: 455.2 kB / 1.349 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000294/1.703, allocations: 217.7 kB / 1.349 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/1.703, allocations: 301.1 kB / 1.349 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.704, allocations: 0.7555 MB / 1.35 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0018/1.706, allocations: 1.399 MB / 1.351 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/1.709, allocations: 2.047 MB / 1.353 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.709, allocations: 7.844 kB / 1.353 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.006232/1.716, allocations: 2.594 MB / 1.356 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004967/1.716, allocations: 0.5407 MB / 1.356 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.943e-05/1.716, allocations: 13.19 kB / 1.356 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/1.717, allocations: 125.2 kB / 1.356 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.719, allocations: 459.5 kB / 1.357 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007119/1.719, allocations: 0.6622 MB / 1.357 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/1.723, allocations: 256 kB / 1.358 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/1.724, allocations: 97.56 kB / 1.358 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.724, allocations: 3.281 kB / 1.358 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003981/1.728, allocations: 2.167 MB / 1.36 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-05/1.728, allocations: 19.28 kB / 1.36 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002144/1.728, allocations: 69.11 kB / 1.36 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.73, allocations: 461.3 kB / 1.36 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/1.731, allocations: 1.583 MB / 1.362 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003598/1.735, allocations: 255.2 kB / 1.362 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002731/1.735, allocations: 95.33 kB / 1.362 GB, free: 1.727 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,QHea.nextTimeEventScaled,$PRE.QHea.nextTimeEventScaled,QHea.nextTimeEvent,heaETS.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 243 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002565/1.738, allocations: 0.9094 MB / 1.363 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/1.739, allocations: 366.2 kB / 1.364 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00512/1.744, allocations: 1.893 MB / 1.365 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/1.744, allocations: 19.73 kB / 1.365 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/1.744, allocations: 3.938 kB / 1.365 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002515/1.747, allocations: 1.27 MB / 1.367 GB, free: 15.22 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 postOpt removeSimpleEquations (simulation): time 0.01282/1.759, allocations: 4.802 MB / 1.371 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.76, allocations: 0 / 1.371 GB, free: 10.47 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.761, allocations: 251.8 kB / 1.372 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/1.761, allocations: 79 kB / 1.372 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/1.761, allocations: 35.98 kB / 1.372 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005347/1.762, allocations: 0.6356 MB / 1.372 GB, free: 9.453 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.762, allocations: 8 kB / 1.372 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/1.767, allocations: 2.658 MB / 1.375 GB, free: 6.75 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/1.77, allocations: 0.6562 MB / 1.376 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/1.771, allocations: 32 kB / 1.376 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002974/1.774, allocations: 187.7 kB / 1.376 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.774, allocations: 85.19 kB / 1.376 GB, free: 5.773 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/1.775, allocations: 63.95 kB / 1.376 GB, free: 5.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006174/1.781, allocations: 2.302 MB / 1.378 GB, free: 3.402 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.81e-07/1.781, allocations: 0 / 1.378 GB, free: 3.402 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.01041/1.791, allocations: 1.882 MB / 1.38 GB, free: 1.52 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 14 (heaETS.senTDisSup.T,heaETS.jun.vol.dynBal.U,heaETS.senTDisRet.T,heaETS.spl.vol.dynBal.U,heaETS.conVal.filter.s[1],heaETS.conVal.filter.s[2],heaETS.senTBuiRet.T,heaETS.int.y,heaETS.con.I.y,heaETS.senTBuiSup.T,pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],loa.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,QHea.nextTimeEvent,QHea.nextTimeEventScaled) * Number of discrete states: 2 (QHea.nextTimeEvent,QHea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004007/1.795, allocations: 1.264 MB / 1.381 GB, free: 500 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.007297/1.803, allocations: 3.051 MB / 1.384 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/1.803, allocations: 0 / 1.384 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/1.804, allocations: 0.7088 MB / 1.385 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0127/1.817, allocations: 1.736 MB / 1.387 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/1.835, allocations: 7.93 MB / 1.394 GB, free: 3.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004423/1.839, allocations: 2.192 MB / 1.397 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.005906/1.845, allocations: 0.8521 MB / 1.397 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.846, allocations: 287.2 kB / 1.398 GB, free: 15.7 MB / 1.045 GB Notification: Performance of SimCode: time 2.084e-06/1.846, allocations: 4 kB / 1.398 GB, free: 15.7 MB / 1.045 GB Notification: Performance of Templates: time 0.1344/1.981, allocations: 68.2 MB / 1.464 GB, free: 12.52 MB / 1.107 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.makefile (rm -f Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.sim & ./Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.ETS.Heating.Examples.Direct.pipe 2>&1)