Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.DHC.ETS.Heating.Examples.Direct") translateModel(Buildings.DHC.ETS.Heating.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009801/0.0009801, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008464/0.008465, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.064/3.064, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004143, allocations: 7.594 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.397, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Direct): time 0.1515/0.5485, allocations: 151.9 MB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9247/1.473, allocations: 33.97 MB / 1.256 GB, free: 33.04 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008395/1.482, allocations: 146.5 kB / 1.256 GB, free: 33.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0137/1.495, allocations: 5.081 MB / 1.261 GB, free: 33.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01701/1.513, allocations: 4.865 MB / 1.265 GB, free: 32.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01207/1.525, allocations: 3.956 MB / 1.269 GB, free: 32.89 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.03246/1.557, allocations: 16.67 MB / 1.286 GB, free: 32.86 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01092/1.568, allocations: 2.906 MB / 1.288 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01382/1.582, allocations: 3.491 MB / 1.292 GB, free: 32.47 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008702/1.591, allocations: 2.807 MB / 1.295 GB, free: 32.36 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/1.592, allocations: 135.2 kB / 1.295 GB, free: 32.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/1.604, allocations: 2.595 MB / 1.297 GB, free: 32.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002892/1.607, allocations: 0.8891 MB / 1.298 GB, free: 32.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008017/1.615, allocations: 2.083 MB / 1.3 GB, free: 31.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/1.631, allocations: 7.048 MB / 1.307 GB, free: 30.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.631, allocations: 0 / 1.307 GB, free: 30.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.606e-06/1.631, allocations: 1.375 kB / 1.307 GB, free: 30.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.00024/1.632, allocations: 0 / 1.307 GB, free: 30.49 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.01055/1.642, allocations: 4.145 MB / 1.311 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.642, allocations: 10.06 kB / 1.311 GB, free: 28.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/1.645, allocations: 0.5768 MB / 1.312 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008313/1.653, allocations: 4.559 MB / 1.316 GB, free: 27.13 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/1.653, allocations: 186.2 kB / 1.316 GB, free: 27.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004366/1.654, allocations: 243.9 kB / 1.317 GB, free: 27.11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00449/1.658, allocations: 2.484 MB / 1.319 GB, free: 26.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/1.658, allocations: 5.969 kB / 1.319 GB, free: 26.35 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/1.658, allocations: 93 kB / 1.319 GB, free: 26.35 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.102e-05/1.658, allocations: 89.03 kB / 1.319 GB, free: 26.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/1.662, allocations: 1.878 MB / 1.321 GB, free: 26.05 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.01625/1.678, allocations: 13.1 MB / 1.334 GB, free: 17.51 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/1.68, allocations: 1.254 MB / 1.335 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/1.682, allocations: 0.6853 MB / 1.336 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00703/1.689, allocations: 4.23 MB / 1.34 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001338/1.69, allocations: 0.739 MB / 1.341 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001759/1.692, allocations: 175 kB / 1.341 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=124): time 4.669e-06/1.692, allocations: 0 / 1.341 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=124): time 0.005931/1.698, allocations: 2.292 MB / 1.343 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/1.698, allocations: 114.6 kB / 1.343 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00529/1.703, allocations: 3.465 MB / 1.346 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002882/1.703, allocations: 57.98 kB / 1.346 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.705, allocations: 1.759 MB / 1.348 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/1.705, allocations: 456.8 kB / 1.349 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/1.706, allocations: 211.5 kB / 1.349 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.705e-05/1.706, allocations: 309.1 kB / 1.349 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/1.707, allocations: 0.7612 MB / 1.35 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/1.709, allocations: 1.389 MB / 1.351 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/1.712, allocations: 2.051 MB / 1.353 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.712, allocations: 3.188 kB / 1.353 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.005001/1.717, allocations: 2.611 MB / 1.356 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002726/1.717, allocations: 0.5357 MB / 1.356 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.717, allocations: 15.62 kB / 1.356 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005257/1.717, allocations: 119.3 kB / 1.356 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.719, allocations: 459.1 kB / 1.357 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004748/1.719, allocations: 0.6619 MB / 1.358 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/1.723, allocations: 259.5 kB / 1.358 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/1.723, allocations: 96 kB / 1.358 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/1.723, allocations: 6.844 kB / 1.358 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003532/1.726, allocations: 2.163 MB / 1.36 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/1.726, allocations: 19.66 kB / 1.36 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/1.727, allocations: 65.27 kB / 1.36 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.728, allocations: 461.2 kB / 1.36 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/1.729, allocations: 1.58 MB / 1.362 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00298/1.732, allocations: 245.5 kB / 1.362 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/1.733, allocations: 93.98 kB / 1.362 GB, free: 1.824 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.001948/1.735, allocations: 0.9179 MB / 1.363 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/1.735, allocations: 358 kB / 1.364 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/1.739, allocations: 1.89 MB / 1.365 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.022e-05/1.739, allocations: 20.89 kB / 1.365 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.739, allocations: 11.59 kB / 1.365 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002126/1.741, allocations: 1.267 MB / 1.367 GB, free: 15.33 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.009102/1.75, allocations: 4.806 MB / 1.371 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.75, allocations: 0 / 1.371 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.751, allocations: 251.8 kB / 1.372 GB, free: 10.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/1.751, allocations: 79.69 kB / 1.372 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.676e-05/1.751, allocations: 39.98 kB / 1.372 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000493/1.752, allocations: 0.6343 MB / 1.372 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.752, allocations: 3.938 kB / 1.372 GB, free: 9.551 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/1.757, allocations: 2.662 MB / 1.375 GB, free: 6.852 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/1.759, allocations: 0.6523 MB / 1.376 GB, free: 6.176 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004689/1.759, allocations: 32.03 kB / 1.376 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001788/1.761, allocations: 191.7 kB / 1.376 GB, free: 5.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.761, allocations: 89.19 kB / 1.376 GB, free: 5.871 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.761, allocations: 59.95 kB / 1.376 GB, free: 5.812 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004217/1.766, allocations: 2.306 MB / 1.378 GB, free: 3.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.766, allocations: 0 / 1.378 GB, free: 3.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006458/1.772, allocations: 1.883 MB / 1.38 GB, free: 1.613 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.003077/1.775, allocations: 1.259 MB / 1.381 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005935/1.781, allocations: 3.039 MB / 1.384 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.781, allocations: 4 kB / 1.384 GB, free: 13.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.783, allocations: 0.7048 MB / 1.385 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/1.794, allocations: 1.747 MB / 1.387 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.81, allocations: 7.929 MB / 1.394 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/1.812, allocations: 2.192 MB / 1.397 GB, free: 0.9453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004878/1.817, allocations: 0.856 MB / 1.397 GB, free: 88 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/1.818, allocations: 279.3 kB / 1.398 GB, free: 15.81 MB / 1.045 GB Notification: Performance of SimCode: time 1.623e-06/1.818, allocations: 0 / 1.398 GB, free: 15.81 MB / 1.045 GB Notification: Performance of Templates: time 0.1305/1.948, allocations: 68.21 MB / 1.464 GB, free: 12.62 MB / 1.107 GB make -j1 -f Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Direct.makefile (rm -f Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; mkfifo Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Direct.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Direct.pipe >> ../files/Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Direct.sim & ./Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Direct -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Direct.pipe 2>&1)