Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.DHC.ETS.Cooling.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.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct") translateModel(Buildings.DHC.ETS.Cooling.Examples.Direct,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 89.97 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.01212/0.01212, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.631/1.631, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006224/0.0006226, allocations: 7.312 kB / 0.9158 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4585, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Direct): time 0.1521/0.6107, allocations: 151.9 MB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8734/1.484, allocations: 33.97 MB / 1.256 GB, free: 33.05 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008576/1.493, allocations: 146.6 kB / 1.256 GB, free: 33.05 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01499/1.508, allocations: 5.076 MB / 1.261 GB, free: 33.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01969/1.528, allocations: 4.871 MB / 1.265 GB, free: 32.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01343/1.541, allocations: 3.955 MB / 1.269 GB, free: 32.91 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.00078566853189579}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.03089/1.572, allocations: 16.66 MB / 1.286 GB, free: 32.88 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007791/1.58, allocations: 2.92 MB / 1.288 GB, free: 32.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/1.592, allocations: 3.448 MB / 1.292 GB, free: 32.49 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008714/1.601, allocations: 2.807 MB / 1.295 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001743/1.603, allocations: 134 kB / 1.295 GB, free: 32.39 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/1.614, allocations: 2.599 MB / 1.297 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002625/1.616, allocations: 0.882 MB / 1.298 GB, free: 32.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006657/1.623, allocations: 2.089 MB / 1.3 GB, free: 31.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/1.637, allocations: 7.054 MB / 1.307 GB, free: 30.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.637, allocations: 1.375 kB / 1.307 GB, free: 30.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.806e-06/1.637, allocations: 0 / 1.307 GB, free: 30.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002419/1.638, allocations: 0 / 1.307 GB, free: 30.52 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.009779/1.647, allocations: 4.144 MB / 1.311 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.647, allocations: 9.719 kB / 1.311 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/1.65, allocations: 0.5793 MB / 1.312 GB, free: 28.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009452/1.66, allocations: 4.546 MB / 1.316 GB, free: 27.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/1.66, allocations: 181.6 kB / 1.316 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005934/1.661, allocations: 239.6 kB / 1.316 GB, free: 27.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/1.666, allocations: 2.488 MB / 1.319 GB, free: 26.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.519e-05/1.666, allocations: 0 / 1.319 GB, free: 26.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/1.666, allocations: 101.6 kB / 1.319 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.13e-05/1.666, allocations: 85.58 kB / 1.319 GB, free: 26.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/1.67, allocations: 1.876 MB / 1.321 GB, free: 26.11 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.02465/1.695, allocations: 13.11 MB / 1.334 GB, free: 17.56 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/1.697, allocations: 1.258 MB / 1.335 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/1.698, allocations: 0.6866 MB / 1.336 GB, free: 17.19 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007698/1.706, allocations: 4.227 MB / 1.34 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/1.707, allocations: 0.7391 MB / 1.34 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002021/1.709, allocations: 176.5 kB / 1.341 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=124): time 6.833e-06/1.709, allocations: 0 / 1.341 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of matching and sorting (n=124): time 0.006481/1.716, allocations: 2.289 MB / 1.343 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1.716, allocations: 123.4 kB / 1.343 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006154/1.722, allocations: 3.457 MB / 1.346 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000542/1.722, allocations: 61.17 kB / 1.346 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.724, allocations: 1.758 MB / 1.348 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007991/1.725, allocations: 455.1 kB / 1.349 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/1.726, allocations: 213.4 kB / 1.349 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/1.726, allocations: 309.1 kB / 1.349 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/1.727, allocations: 0.7567 MB / 1.35 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.729, allocations: 1.396 MB / 1.351 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002968/1.732, allocations: 2.047 MB / 1.353 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.732, allocations: 5.625 kB / 1.353 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.0058/1.738, allocations: 2.599 MB / 1.356 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003269/1.738, allocations: 0.54 MB / 1.356 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/1.738, allocations: 14.44 kB / 1.356 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/1.739, allocations: 124.3 kB / 1.356 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.74, allocations: 459.9 kB / 1.357 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005457/1.741, allocations: 0.6737 MB / 1.357 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003661/1.744, allocations: 249 kB / 1.358 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/1.745, allocations: 90.7 kB / 1.358 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.745, allocations: 5.25 kB / 1.358 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003473/1.748, allocations: 2.165 MB / 1.36 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/1.748, allocations: 18.97 kB / 1.36 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/1.748, allocations: 75.2 kB / 1.36 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/1.75, allocations: 451 kB / 1.36 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/1.751, allocations: 1.593 MB / 1.362 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/1.755, allocations: 245.3 kB / 1.362 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/1.756, allocations: 100.8 kB / 1.362 GB, free: 1.844 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.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,QCoo.nextTimeEventScaled,$PRE.QCoo.nextTimeEventScaled,QCoo.nextTimeEvent,cooETS.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.002611/1.758, allocations: 0.9077 MB / 1.363 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/1.759, allocations: 361.4 kB / 1.364 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/1.763, allocations: 1.898 MB / 1.365 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/1.763, allocations: 19.56 kB / 1.365 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.763, allocations: 0 / 1.365 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002265/1.765, allocations: 1.274 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.01086/1.776, allocations: 4.792 MB / 1.371 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/1.776, allocations: 4 kB / 1.371 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/1.778, allocations: 247.7 kB / 1.372 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/1.778, allocations: 84.89 kB / 1.372 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.778, allocations: 43.97 kB / 1.372 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005016/1.778, allocations: 0.6217 MB / 1.372 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.778, allocations: 7.938 kB / 1.372 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/1.784, allocations: 2.662 MB / 1.375 GB, free: 6.883 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/1.786, allocations: 0.6601 MB / 1.376 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006775/1.787, allocations: 35.98 kB / 1.376 GB, free: 6.164 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.789, allocations: 179.7 kB / 1.376 GB, free: 5.988 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.789, allocations: 93.19 kB / 1.376 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.789, allocations: 59.95 kB / 1.376 GB, free: 5.84 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.004499/1.793, allocations: 2.309 MB / 1.378 GB, free: 3.523 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.793, allocations: 0 / 1.378 GB, free: 3.523 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.008085/1.802, allocations: 1.875 MB / 1.38 GB, free: 1.645 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 14 (cooETS.senTDisSup.T,cooETS.jun.vol.dynBal.U,cooETS.senTDisRet.T,cooETS.spl.vol.dynBal.U,cooETS.conVal.filter.s[1],cooETS.conVal.filter.s[2],cooETS.senTBuiRet.T,cooETS.int.y,cooETS.con.I.y,cooETS.senTBuiSup.T,pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],loa.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,QCoo.nextTimeEvent,QCoo.nextTimeEventScaled) * Number of discrete states: 2 (QCoo.nextTimeEvent,QCoo.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.003469/1.805, allocations: 1.255 MB / 1.381 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006129/1.811, allocations: 3.042 MB / 1.384 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.811, allocations: 0 / 1.384 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/1.813, allocations: 0.7099 MB / 1.385 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01348/1.826, allocations: 1.745 MB / 1.387 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.842, allocations: 7.929 MB / 1.394 GB, free: 3.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/1.844, allocations: 2.192 MB / 1.396 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.004529/1.848, allocations: 0.8559 MB / 1.397 GB, free: 124 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008683/1.849, allocations: 275.4 kB / 1.398 GB, free: 15.85 MB / 1.045 GB Notification: Performance of SimCode: time 1.522e-06/1.849, allocations: 0 / 1.398 GB, free: 15.85 MB / 1.045 GB Notification: Performance of Templates: time 0.1252/1.974, allocations: 68.22 MB / 1.464 GB, free: 12.65 MB / 1.107 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct.makefile (rm -f Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct.sim & ./Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Direct.pipe 2>&1)