Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.DHC.ETS.Cooling.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.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect") translateModel(Buildings.DHC.ETS.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, 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.007271/0.007271, 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.557/1.557, 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 3.082/3.082, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 12.09 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4055, allocations: 162.2 MB / 1.074 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Indirect): time 0.1084/0.514, allocations: 112.7 MB / 1.184 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04582/0.5599, allocations: 31.01 MB / 1.214 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006822/0.5667, allocations: 119.2 kB / 1.215 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01238/0.5791, allocations: 4.838 MB / 1.219 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01506/0.5942, allocations: 4.008 MB / 1.223 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01174/0.606, allocations: 3.588 MB / 1.227 GB, free: 10.92 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.001013609402260618}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02209/0.6281, allocations: 13.27 MB / 1.24 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005677/0.6338, allocations: 2.443 MB / 1.242 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009474/0.6433, allocations: 2.955 MB / 1.245 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005058/0.6484, allocations: 2.266 MB / 1.247 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009558/0.6494, allocations: 124 kB / 1.247 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008735/0.6582, allocations: 3.377 MB / 1.251 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.6597, allocations: 0.7778 MB / 1.251 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.8573/1.517, allocations: 1.805 MB / 1.253 GB, free: 34.08 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01907/1.536, allocations: 6.579 MB / 1.26 GB, free: 33.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/1.536, allocations: 2.734 kB / 1.26 GB, free: 33.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.717e-06/1.536, allocations: 4.531 kB / 1.26 GB, free: 33.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002389/1.536, allocations: 0.6562 kB / 1.26 GB, free: 33.93 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.01311/1.55, allocations: 3.795 MB / 1.263 GB, free: 32.03 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.55, allocations: 13.56 kB / 1.263 GB, free: 32.03 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005265/1.555, allocations: 0.8937 MB / 1.264 GB, free: 31.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/1.565, allocations: 4.032 MB / 1.268 GB, free: 31.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001183/1.566, allocations: 365 kB / 1.268 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008919/1.567, allocations: 214.1 kB / 1.269 GB, free: 31.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006078/1.573, allocations: 2.371 MB / 1.271 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/1.574, allocations: 4.906 kB / 1.271 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000257/1.574, allocations: 79.97 kB / 1.271 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.955e-05/1.574, allocations: 75.14 kB / 1.271 GB, free: 30.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005939/1.58, allocations: 2.116 MB / 1.273 GB, free: 30.75 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.02185/1.602, allocations: 11.64 MB / 1.285 GB, free: 25.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/1.606, allocations: 1.746 MB / 1.286 GB, free: 25.35 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/1.609, allocations: 0.9498 MB / 1.287 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/1.62, allocations: 5.494 MB / 1.292 GB, free: 22.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002613/1.623, allocations: 1.042 MB / 1.294 GB, free: 22.81 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002411/1.626, allocations: 218 kB / 1.294 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=135): time 6.803e-06/1.626, allocations: 0 / 1.294 GB, free: 22.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.01908/1.645, allocations: 5.959 MB / 1.3 GB, free: 21.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/1.645, allocations: 126 kB / 1.3 GB, free: 20.99 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006455/1.651, allocations: 3.038 MB / 1.303 GB, free: 20.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008202/1.652, allocations: 62.55 kB / 1.303 GB, free: 20.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/1.654, allocations: 1.443 MB / 1.304 GB, free: 20.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009144/1.655, allocations: 491.6 kB / 1.305 GB, free: 19.97 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003779/1.655, allocations: 219.2 kB / 1.305 GB, free: 19.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.677e-05/1.655, allocations: 313.5 kB / 1.305 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00259/1.658, allocations: 0.9987 MB / 1.306 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/1.661, allocations: 1.546 MB / 1.308 GB, free: 19.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004789/1.665, allocations: 2.361 MB / 1.31 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/1.665, allocations: 6.453 kB / 1.31 GB, free: 18.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.007586/1.673, allocations: 3.096 MB / 1.313 GB, free: 18.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/1.673, allocations: 436 kB / 1.313 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/1.673, allocations: 12.03 kB / 1.313 GB, free: 17.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/1.675, allocations: 319.3 kB / 1.314 GB, free: 17.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/1.677, allocations: 0.5141 MB / 1.314 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/1.678, allocations: 1.476 MB / 1.316 GB, free: 16.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/1.682, allocations: 281.3 kB / 1.316 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/1.682, allocations: 98.16 kB / 1.316 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/1.682, allocations: 3.344 kB / 1.316 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005948/1.688, allocations: 2.677 MB / 1.319 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.688, allocations: 8.344 kB / 1.319 GB, free: 16.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008955/1.689, allocations: 304.7 kB / 1.319 GB, free: 16.49 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.691, allocations: 0.5009 MB / 1.319 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/1.693, allocations: 2.399 MB / 1.322 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/1.697, allocations: 272.5 kB / 1.322 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/1.697, allocations: 95.48 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.QCoo.nextTimeEvent,$whenCondition1,cooETS.con.con1.y,cooETS.hex.flowRegime_nominal,cooETS.hex.flowRegime,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 (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.00263/1.7, allocations: 0.7855 MB / 1.323 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/1.701, allocations: 332.8 kB / 1.323 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/1.709, allocations: 2.595 MB / 1.326 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.217e-05/1.709, allocations: 23.06 kB / 1.326 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/1.709, allocations: 3.406 kB / 1.326 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004935/1.714, allocations: 2.146 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.01536/1.729, allocations: 5.303 MB / 1.333 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/1.729, allocations: 0 / 1.333 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/1.731, allocations: 339.6 kB / 1.333 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007909/1.732, allocations: 233.4 kB / 1.333 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.732, allocations: 47.7 kB / 1.334 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009547/1.733, allocations: 1.344 MB / 1.335 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/1.733, allocations: 2.719 kB / 1.335 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008481/1.741, allocations: 3.614 MB / 1.338 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002683/1.744, allocations: 0.661 MB / 1.339 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001413/1.746, allocations: 30.31 kB / 1.339 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003448/1.749, allocations: 250.1 kB / 1.339 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/1.749, allocations: 98.81 kB / 1.339 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/1.75, allocations: 73.97 kB / 1.339 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005456/1.755, allocations: 2.008 MB / 1.341 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.053e-06/1.755, allocations: 0 / 1.341 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0103/1.765, allocations: 1.542 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 (cooETS.senTDisSup.T,cooETS.conVal.filter.s[1],cooETS.conVal.filter.s[2],cooETS.senTDisRet.T,cooETS.senTBuiRet.T,cooETS.senTBuiSup.T,cooETS.con.I.y,cooETS.int.y,loa.vol.dynBal.U,pumBui.filter.s[1],pumBui.filter.s[2]) * 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 (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.005023/1.77, allocations: 1.267 MB / 1.344 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.781, allocations: 3.881 MB / 1.348 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/1.782, allocations: 9.375 kB / 1.348 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003002/1.785, allocations: 1.056 MB / 1.349 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01265/1.797, allocations: 1.389 MB / 1.35 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01675/1.814, allocations: 7.36 MB / 1.358 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003222/1.817, allocations: 1.989 MB / 1.359 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006218/1.824, allocations: 0.7981 MB / 1.36 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.825, allocations: 261.8 kB / 1.361 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of SimCode: time 1.342e-06/1.825, allocations: 4 kB / 1.361 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of Templates: time 0.1243/1.949, allocations: 65.62 MB / 1.425 GB, free: 7.711 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect.makefile (rm -f Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; mkfifo Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; head -c 1048576 < Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe >> ../files/Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect.sim & ./Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe 2>&1)