Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.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.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect") translateModel(Buildings.DHC.ETS.Heating.Examples.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 91.84 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.009357/0.009357, allocations: 169.9 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.481/1.481, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.844/2.844, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003934, allocations: 10.56 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3955, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Heating.Examples.Indirect): time 0.1094/0.505, allocations: 112.7 MB / 1.184 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04832/0.5533, allocations: 31.02 MB / 1.214 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007603/0.561, allocations: 115.2 kB / 1.215 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01304/0.5741, allocations: 4.83 MB / 1.219 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01758/0.5917, allocations: 4.012 MB / 1.223 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01267/0.6044, allocations: 3.584 MB / 1.227 GB, free: 10.93 MB / 0.9825 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.0009122484620345563}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02255/0.6269, allocations: 13.27 MB / 1.24 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005968/0.6329, allocations: 2.447 MB / 1.242 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009704/0.6427, allocations: 2.99 MB / 1.245 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005907/0.6486, allocations: 2.274 MB / 1.247 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.6499, allocations: 120 kB / 1.247 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009591/0.6595, allocations: 3.373 MB / 1.251 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001906/0.6614, allocations: 0.7856 MB / 1.251 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.8389/1.5, allocations: 1.797 MB / 1.253 GB, free: 34.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01674/1.517, allocations: 6.588 MB / 1.26 GB, free: 33.94 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.517, allocations: 1.641 kB / 1.26 GB, free: 33.94 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.517, allocations: 0 / 1.26 GB, free: 33.94 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002448/1.517, allocations: 0 / 1.26 GB, free: 33.94 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: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.01406/1.532, allocations: 3.798 MB / 1.263 GB, free: 32.04 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.532, allocations: 10.84 kB / 1.263 GB, free: 32.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005321/1.537, allocations: 0.8969 MB / 1.264 GB, free: 31.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/1.548, allocations: 4.024 MB / 1.268 GB, free: 31.11 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001145/1.549, allocations: 366.7 kB / 1.268 GB, free: 31.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009253/1.55, allocations: 213.3 kB / 1.269 GB, free: 31.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008497/1.558, allocations: 2.378 MB / 1.271 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.494e-05/1.558, allocations: 2.625 kB / 1.271 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004574/1.559, allocations: 79.31 kB / 1.271 GB, free: 30.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/1.559, allocations: 71.02 kB / 1.271 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.569, allocations: 2.119 MB / 1.273 GB, free: 30.76 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.03197/1.601, allocations: 11.63 MB / 1.285 GB, free: 25.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005063/1.606, allocations: 1.748 MB / 1.286 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/1.609, allocations: 0.95 MB / 1.287 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/1.623, allocations: 5.487 MB / 1.293 GB, free: 22.92 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002828/1.625, allocations: 1.037 MB / 1.294 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002325/1.628, allocations: 225.9 kB / 1.294 GB, free: 22.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=135): time 1.398e-05/1.628, allocations: 1.188 kB / 1.294 GB, free: 22.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.0209/1.649, allocations: 5.952 MB / 1.3 GB, free: 21.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/1.649, allocations: 126.7 kB / 1.3 GB, free: 21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009078/1.658, allocations: 3.041 MB / 1.303 GB, free: 20.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007081/1.659, allocations: 60.02 kB / 1.303 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.661, allocations: 1.447 MB / 1.304 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000861/1.661, allocations: 497.2 kB / 1.305 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003757/1.662, allocations: 218.6 kB / 1.305 GB, free: 19.96 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.794e-05/1.662, allocations: 309.1 kB / 1.305 GB, free: 19.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/1.664, allocations: 1.007 MB / 1.306 GB, free: 19.63 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002963/1.667, allocations: 1.543 MB / 1.308 GB, free: 19.06 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/1.672, allocations: 2.364 MB / 1.31 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/1.672, allocations: 3.562 kB / 1.31 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.007398/1.68, allocations: 3.083 MB / 1.313 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002695/1.68, allocations: 442.3 kB / 1.313 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.68, allocations: 9.062 kB / 1.313 GB, free: 17.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/1.681, allocations: 323.1 kB / 1.314 GB, free: 17.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.683, allocations: 0.5135 MB / 1.314 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/1.684, allocations: 1.481 MB / 1.316 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/1.688, allocations: 278.2 kB / 1.316 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/1.689, allocations: 100.4 kB / 1.316 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.689, allocations: 3.25 kB / 1.316 GB, free: 16.63 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006444/1.695, allocations: 2.671 MB / 1.319 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/1.695, allocations: 10 kB / 1.319 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00095/1.696, allocations: 305.2 kB / 1.319 GB, free: 16.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/1.698, allocations: 0.5034 MB / 1.319 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.701, allocations: 2.39 MB / 1.322 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/1.704, allocations: 273.8 kB / 1.322 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/1.705, allocations: 97.36 kB / 1.322 GB, free: 14.59 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.QHea.nextTimeEvent,$whenCondition1,heaETS.con.con1.y,heaETS.hex.flowRegime_nominal,heaETS.hex.flowRegime,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 (236): * Single equations (assignments): 232 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00244/1.707, allocations: 0.7894 MB / 1.323 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.708, allocations: 324.5 kB / 1.323 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007132/1.716, allocations: 2.598 MB / 1.326 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/1.716, allocations: 23.8 kB / 1.326 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.716, allocations: 2.562 kB / 1.326 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004489/1.72, allocations: 2.151 MB / 1.328 GB, free: 13.55 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 postOpt removeSimpleEquations (simulation): time 0.01454/1.735, allocations: 5.3 MB / 1.333 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.735, allocations: 3.891 kB / 1.333 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.736, allocations: 335.8 kB / 1.333 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008195/1.737, allocations: 225.6 kB / 1.334 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/1.737, allocations: 53.75 kB / 1.334 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/1.738, allocations: 1.342 MB / 1.335 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.738, allocations: 3.406 kB / 1.335 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008262/1.747, allocations: 3.608 MB / 1.338 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002666/1.749, allocations: 0.664 MB / 1.339 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001588/1.751, allocations: 35.05 kB / 1.339 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003697/1.755, allocations: 239.8 kB / 1.339 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/1.755, allocations: 112.3 kB / 1.339 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002599/1.755, allocations: 69.16 kB / 1.339 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005151/1.76, allocations: 2.012 MB / 1.341 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.51e-07/1.76, allocations: 0 / 1.341 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009676/1.77, allocations: 1.537 MB / 1.343 GB, free: 10.64 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (heaETS.senTDisSup.T,heaETS.conVal.filter.s[1],heaETS.conVal.filter.s[2],heaETS.senTDisRet.T,heaETS.senTBuiRet.T,heaETS.senTBuiSup.T,heaETS.con.I.y,heaETS.int.y,loa.vol.dynBal.U,pumBui.filter.s[1],pumBui.filter.s[2]) * 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 (145): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,13), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004745/1.775, allocations: 1.27 MB / 1.344 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.785, allocations: 3.885 MB / 1.348 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/1.785, allocations: 4.938 kB / 1.348 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/1.788, allocations: 1.051 MB / 1.349 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/1.799, allocations: 1.388 MB / 1.35 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/1.815, allocations: 7.357 MB / 1.358 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/1.818, allocations: 1.989 MB / 1.359 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005772/1.824, allocations: 0.8015 MB / 1.36 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.825, allocations: 256.6 kB / 1.361 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.825, allocations: 0 / 1.361 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of Templates: time 0.1253/1.95, allocations: 65.63 MB / 1.425 GB, free: 7.918 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.makefile (rm -f Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; mkfifo Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe >> ../files/Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.sim & ./Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.ETS.Heating.Examples.Indirect.pipe 2>&1)