Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.27 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.008293/0.008294, allocations: 170.6 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.969/2.969, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003726, allocations: 13.19 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3876, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 1.097/1.485, allocations: 237.5 MB / 1.306 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02901/1.514, allocations: 17.96 MB / 1.324 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005314/1.519, allocations: 84.19 kB / 1.324 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01154/1.531, allocations: 4.395 MB / 1.328 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01218/1.543, allocations: 3.284 MB / 1.331 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007945/1.551, allocations: 2.314 MB / 1.333 GB, free: 4.938 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.3240000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01503/1.566, allocations: 9.785 MB / 1.343 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003913/1.57, allocations: 1.698 MB / 1.345 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009407/1.579, allocations: 2.576 MB / 1.347 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005603/1.585, allocations: 1.642 MB / 1.349 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008894/1.586, allocations: 86.5 kB / 1.349 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01014/1.596, allocations: 3.951 MB / 1.353 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002007/1.598, allocations: 0.7762 MB / 1.353 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003303/1.601, allocations: 1.301 MB / 1.355 GB, free: 19.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/1.613, allocations: 5.087 MB / 1.36 GB, free: 17.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.613, allocations: 0 / 1.36 GB, free: 17.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.365e-06/1.613, allocations: 0 / 1.36 GB, free: 17.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001131/1.613, allocations: 0 / 1.36 GB, free: 17.36 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 359 * Number of variables: 359 Notification: Performance of Generate backend data structure: time 0.006477/1.62, allocations: 2.871 MB / 1.363 GB, free: 15.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.62, allocations: 8.781 kB / 1.363 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006015/1.626, allocations: 0.9395 MB / 1.363 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/1.631, allocations: 2.787 MB / 1.366 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/1.632, allocations: 182.2 kB / 1.366 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/1.632, allocations: 153.7 kB / 1.366 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/1.636, allocations: 1.783 MB / 1.368 GB, free: 11.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/1.636, allocations: 6.625 kB / 1.368 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/1.636, allocations: 58.47 kB / 1.368 GB, free: 11.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/1.636, allocations: 55.8 kB / 1.368 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/1.64, allocations: 1.604 MB / 1.37 GB, free: 11 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 preOpt removeSimpleEquations (simulation): time 0.01369/1.654, allocations: 8.377 MB / 1.378 GB, free: 4.012 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003229/1.657, allocations: 2.01 MB / 1.38 GB, free: 2.398 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/1.658, allocations: 0.5628 MB / 1.381 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.66, allocations: 0.8086 MB / 1.381 GB, free: 1.316 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/1.661, allocations: 0.605 MB / 1.382 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001413/1.662, allocations: 139.2 kB / 1.382 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 4.358e-06/1.662, allocations: 3.219 kB / 1.382 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.005125/1.668, allocations: 1.754 MB / 1.384 GB, free: 15.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/1.668, allocations: 72.61 kB / 1.384 GB, free: 15.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/1.671, allocations: 2.2 MB / 1.386 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002195/1.671, allocations: 44.17 kB / 1.386 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.672, allocations: 1.104 MB / 1.387 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/1.673, allocations: 322.6 kB / 1.387 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/1.673, allocations: 165.2 kB / 1.388 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/1.673, allocations: 301.1 kB / 1.388 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/1.675, allocations: 0.6611 MB / 1.389 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/1.676, allocations: 1.067 MB / 1.39 GB, free: 11.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003047/1.679, allocations: 1.639 MB / 1.391 GB, free: 10.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.679, allocations: 7.219 kB / 1.391 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.004303/1.684, allocations: 2.008 MB / 1.393 GB, free: 9.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003677/1.684, allocations: 420.1 kB / 1.394 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/1.684, allocations: 9.656 kB / 1.394 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/1.684, allocations: 18.12 kB / 1.394 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.686, allocations: 349.9 kB / 1.394 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.967e-05/1.686, allocations: 21.89 kB / 1.394 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/1.688, allocations: 202.5 kB / 1.394 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.688, allocations: 62.92 kB / 1.394 GB, free: 9.285 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.688, allocations: 6.906 kB / 1.394 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003507/1.692, allocations: 1.788 MB / 1.396 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/1.692, allocations: 9.125 kB / 1.396 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/1.692, allocations: 18.81 kB / 1.396 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.693, allocations: 354.1 kB / 1.396 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/1.693, allocations: 20.38 kB / 1.396 GB, free: 8.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/1.695, allocations: 196.7 kB / 1.397 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/1.695, allocations: 59.95 kB / 1.397 GB, free: 8.305 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 7 (uHea.y,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001603/1.697, allocations: 0.6739 MB / 1.397 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/1.698, allocations: 224 kB / 1.397 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/1.701, allocations: 1.282 MB / 1.399 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.701, allocations: 6.688 kB / 1.399 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.701, allocations: 3.375 kB / 1.399 GB, free: 7.016 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002503/1.704, allocations: 1.327 MB / 1.4 GB, free: 5.617 MB / 1.029 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.00764/1.711, allocations: 3.364 MB / 1.403 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.711, allocations: 0 / 1.403 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.712, allocations: 206.2 kB / 1.404 GB, free: 1.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002294/1.713, allocations: 48.81 kB / 1.404 GB, free: 1.926 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/1.713, allocations: 28.08 kB / 1.404 GB, free: 1.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/1.714, allocations: 1.432 MB / 1.405 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.714, allocations: 0 / 1.405 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/1.719, allocations: 1.933 MB / 1.407 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.721, allocations: 402.1 kB / 1.407 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/1.721, allocations: 20 kB / 1.407 GB, free: 13.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/1.723, allocations: 171.7 kB / 1.407 GB, free: 13.78 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002148/1.723, allocations: 64.84 kB / 1.407 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/1.723, allocations: 31.98 kB / 1.408 GB, free: 13.68 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002945/1.726, allocations: 1.47 MB / 1.409 GB, free: 12.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.6e-07/1.726, allocations: 6.438 kB / 1.409 GB, free: 12.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005036/1.731, allocations: 1.158 MB / 1.41 GB, free: 11.04 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,eleHea.hea.outCon.T) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,uHea.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002419/1.733, allocations: 0.746 MB / 1.411 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005317/1.739, allocations: 2.452 MB / 1.413 GB, free: 8.066 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.739, allocations: 4 kB / 1.413 GB, free: 8.062 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.74, allocations: 0.6617 MB / 1.414 GB, free: 7.406 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/1.746, allocations: 0.9803 MB / 1.415 GB, free: 6.438 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/1.756, allocations: 5.36 MB / 1.42 GB, free: 1.035 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/1.758, allocations: 1.696 MB / 1.422 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002872/1.761, allocations: 0.5759 MB / 1.422 GB, free: 14.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/1.761, allocations: 167.4 kB / 1.422 GB, free: 14.57 MB / 1.061 GB Notification: Performance of SimCode: time 2.394e-06/1.761, allocations: 0 / 1.422 GB, free: 14.57 MB / 1.061 GB Notification: Performance of Templates: time 0.07479/1.836, allocations: 38.91 MB / 1.46 GB, free: 8.27 MB / 1.092 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)