Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect") translateModel(Buildings.DHC.ETS.Cooling.Examples.Indirect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001068/0.001068, 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.009504/0.009504, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.531/1.531, 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.017/3.017, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004017, allocations: 9.219 kB / 0.9158 GB, free: 33.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4169, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.ETS.Cooling.Examples.Indirect): time 0.1151/0.5321, allocations: 112.7 MB / 1.184 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.04827/0.5804, allocations: 31.02 MB / 1.214 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007609/0.5881, allocations: 119.2 kB / 1.215 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01249/0.6007, allocations: 4.836 MB / 1.219 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01646/0.6171, allocations: 4.005 MB / 1.223 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01194/0.6291, allocations: 3.585 MB / 1.227 GB, free: 10.85 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.02226/0.6514, allocations: 13.26 MB / 1.24 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005661/0.6571, allocations: 2.451 MB / 1.242 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008965/0.6661, allocations: 2.951 MB / 1.245 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/0.6713, allocations: 2.282 MB / 1.247 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.6724, allocations: 120 kB / 1.247 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008766/0.6812, allocations: 3.373 MB / 1.251 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.6828, allocations: 0.7739 MB / 1.251 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.828/1.511, allocations: 1.8 MB / 1.253 GB, free: 33.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02068/1.532, allocations: 6.592 MB / 1.26 GB, free: 33.78 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.532, allocations: 0 / 1.26 GB, free: 33.78 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.376e-06/1.532, allocations: 0 / 1.26 GB, free: 33.78 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002844/1.532, allocations: 1.031 kB / 1.26 GB, free: 33.78 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.01633/1.548, allocations: 3.799 MB / 1.263 GB, free: 31.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/1.548, allocations: 10.62 kB / 1.263 GB, free: 31.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005947/1.554, allocations: 0.8974 MB / 1.264 GB, free: 31.67 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0109/1.565, allocations: 4.031 MB / 1.268 GB, free: 30.95 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001166/1.566, allocations: 368.8 kB / 1.268 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009029/1.567, allocations: 210 kB / 1.269 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/1.573, allocations: 2.372 MB / 1.271 GB, free: 30.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.618e-05/1.573, allocations: 5.031 kB / 1.271 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/1.574, allocations: 81.5 kB / 1.271 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.708e-05/1.574, allocations: 73.86 kB / 1.271 GB, free: 30.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005887/1.58, allocations: 2.114 MB / 1.273 GB, free: 30.6 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.02608/1.606, allocations: 11.64 MB / 1.285 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/1.61, allocations: 1.745 MB / 1.286 GB, free: 25.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/1.613, allocations: 0.9568 MB / 1.287 GB, free: 25.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/1.625, allocations: 5.479 MB / 1.292 GB, free: 22.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002681/1.628, allocations: 1.038 MB / 1.294 GB, free: 22.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002287/1.63, allocations: 220.4 kB / 1.294 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=135): time 1.428e-05/1.63, allocations: 0 / 1.294 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.0209/1.651, allocations: 5.972 MB / 1.3 GB, free: 20.96 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/1.651, allocations: 117 kB / 1.3 GB, free: 20.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009077/1.66, allocations: 3.042 MB / 1.303 GB, free: 20.55 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005936/1.661, allocations: 63.45 kB / 1.303 GB, free: 20.52 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.663, allocations: 1.44 MB / 1.304 GB, free: 20.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009085/1.664, allocations: 0.4884 MB / 1.305 GB, free: 19.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007334/1.665, allocations: 215.1 kB / 1.305 GB, free: 19.79 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.887e-05/1.665, allocations: 309.9 kB / 1.305 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/1.668, allocations: 1.005 MB / 1.306 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003561/1.671, allocations: 1.544 MB / 1.308 GB, free: 18.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005903/1.677, allocations: 2.367 MB / 1.31 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-05/1.677, allocations: 3.375 kB / 1.31 GB, free: 18.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.009068/1.687, allocations: 3.089 MB / 1.313 GB, free: 18.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003082/1.687, allocations: 435.4 kB / 1.313 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.687, allocations: 12.09 kB / 1.313 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/1.688, allocations: 327.2 kB / 1.314 GB, free: 17.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.69, allocations: 0.5107 MB / 1.314 GB, free: 17.54 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/1.692, allocations: 1.48 MB / 1.316 GB, free: 16.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004043/1.696, allocations: 280.7 kB / 1.316 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/1.696, allocations: 98.94 kB / 1.316 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/1.696, allocations: 3.219 kB / 1.316 GB, free: 16.47 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006152/1.702, allocations: 2.675 MB / 1.319 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.43e-05/1.702, allocations: 12.42 kB / 1.319 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009416/1.703, allocations: 300.5 kB / 1.319 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/1.705, allocations: 0.5001 MB / 1.319 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/1.707, allocations: 2.405 MB / 1.322 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.711, allocations: 269.6 kB / 1.322 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/1.711, allocations: 94.78 kB / 1.322 GB, free: 14.43 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.002586/1.714, allocations: 0.7888 MB / 1.323 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/1.715, allocations: 327.7 kB / 1.323 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/1.723, allocations: 2.596 MB / 1.326 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/1.723, allocations: 22.61 kB / 1.326 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/1.723, allocations: 4 kB / 1.326 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0046/1.728, allocations: 2.139 MB / 1.328 GB, free: 13.39 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.01535/1.743, allocations: 5.301 MB / 1.333 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.743, allocations: 2.5 kB / 1.333 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.745, allocations: 341.4 kB / 1.333 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008463/1.745, allocations: 229.9 kB / 1.333 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.746, allocations: 50.23 kB / 1.334 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/1.747, allocations: 1.344 MB / 1.335 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.747, allocations: 4.062 kB / 1.335 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00828/1.755, allocations: 3.608 MB / 1.338 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/1.758, allocations: 0.6636 MB / 1.339 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/1.759, allocations: 36.33 kB / 1.339 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003803/1.763, allocations: 243.3 kB / 1.339 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/1.763, allocations: 100.9 kB / 1.339 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.763, allocations: 72.69 kB / 1.339 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005603/1.769, allocations: 2.015 MB / 1.341 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.3e-07/1.769, allocations: 4 kB / 1.341 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.009827/1.779, allocations: 1.538 MB / 1.343 GB, free: 10.48 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.004728/1.784, allocations: 1.267 MB / 1.344 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.794, allocations: 3.886 MB / 1.348 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.794, allocations: 5.781 kB / 1.348 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003021/1.797, allocations: 1.055 MB / 1.349 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01385/1.811, allocations: 1.376 MB / 1.35 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.826, allocations: 7.376 MB / 1.358 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002911/1.829, allocations: 1.983 MB / 1.359 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005563/1.835, allocations: 0.7992 MB / 1.36 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.836, allocations: 260.4 kB / 1.361 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.836, allocations: 3.969 kB / 1.361 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.1207/1.957, allocations: 65.62 MB / 1.425 GB, free: 7.68 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect.makefile (rm -f Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; mkfifo Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe >> ../files/Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect.sim & ./Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.DHC.ETS.Cooling.Examples.Indirect.pipe 2>&1)