Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009574/0.0009573, 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.006126/0.006127, 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 13.59 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3435, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.8795/1.223, allocations: 237.5 MB / 1.306 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02458/1.248, allocations: 17.96 MB / 1.324 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003877/1.252, allocations: 87.7 kB / 1.324 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/1.262, allocations: 4.397 MB / 1.328 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/1.272, allocations: 3.285 MB / 1.331 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007181/1.28, allocations: 2.306 MB / 1.333 GB, free: 4.914 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.0134/1.293, allocations: 9.784 MB / 1.343 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003298/1.296, allocations: 1.697 MB / 1.345 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007062/1.303, allocations: 2.581 MB / 1.347 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004241/1.308, allocations: 1.646 MB / 1.349 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007737/1.309, allocations: 84.53 kB / 1.349 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01231/1.321, allocations: 3.957 MB / 1.353 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002137/1.323, allocations: 0.7727 MB / 1.353 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003631/1.327, allocations: 1.296 MB / 1.355 GB, free: 19.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01085/1.338, allocations: 5.086 MB / 1.36 GB, free: 17.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.338, allocations: 4 kB / 1.36 GB, free: 17.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.244e-06/1.338, allocations: 2.906 kB / 1.36 GB, free: 17.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001214/1.338, allocations: 0 / 1.36 GB, free: 17.35 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.006296/1.344, allocations: 2.872 MB / 1.363 GB, free: 15.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.344, allocations: 8.5 kB / 1.363 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006172/1.35, allocations: 0.9319 MB / 1.363 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005696/1.356, allocations: 2.787 MB / 1.366 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/1.357, allocations: 185.1 kB / 1.366 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/1.357, allocations: 153.2 kB / 1.366 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/1.361, allocations: 1.787 MB / 1.368 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/1.361, allocations: 0 / 1.368 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/1.361, allocations: 66.09 kB / 1.368 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/1.361, allocations: 59.44 kB / 1.368 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/1.365, allocations: 1.596 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.01337/1.378, allocations: 8.37 MB / 1.378 GB, free: 4.012 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/1.382, allocations: 2.021 MB / 1.38 GB, free: 2.391 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/1.383, allocations: 0.5628 MB / 1.381 GB, free: 2.129 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.384, allocations: 0.8141 MB / 1.381 GB, free: 1.305 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/1.386, allocations: 0.586 MB / 1.382 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001312/1.387, allocations: 141.4 kB / 1.382 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 4.128e-06/1.387, allocations: 0 / 1.382 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.004949/1.392, allocations: 1.765 MB / 1.384 GB, free: 15.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/1.392, allocations: 67.84 kB / 1.384 GB, free: 15.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/1.395, allocations: 2.205 MB / 1.386 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/1.396, allocations: 47.58 kB / 1.386 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/1.397, allocations: 1.101 MB / 1.387 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/1.397, allocations: 316.9 kB / 1.387 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/1.397, allocations: 166.7 kB / 1.388 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/1.397, allocations: 301.1 kB / 1.388 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/1.399, allocations: 0.656 MB / 1.389 GB, free: 12.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/1.401, allocations: 1.071 MB / 1.39 GB, free: 11.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003011/1.404, allocations: 1.638 MB / 1.391 GB, free: 10.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.404, allocations: 7.25 kB / 1.391 GB, free: 10.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.004163/1.408, allocations: 2.014 MB / 1.393 GB, free: 9.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002838/1.408, allocations: 417 kB / 1.394 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.408, allocations: 10.72 kB / 1.394 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/1.408, allocations: 16.12 kB / 1.394 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.41, allocations: 349.2 kB / 1.394 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.477e-05/1.41, allocations: 24.62 kB / 1.394 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/1.412, allocations: 205 kB / 1.394 GB, free: 9.289 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/1.412, allocations: 62.42 kB / 1.394 GB, free: 9.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.412, allocations: 3.25 kB / 1.394 GB, free: 9.273 MB / 1.029 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003401/1.415, allocations: 1.789 MB / 1.396 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.415, allocations: 16.52 kB / 1.396 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.415, allocations: 15.06 kB / 1.396 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.417, allocations: 351.3 kB / 1.396 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/1.417, allocations: 29.17 kB / 1.396 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/1.419, allocations: 195.8 kB / 1.397 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/1.419, allocations: 67.33 kB / 1.397 GB, free: 8.285 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.001378/1.42, allocations: 0.6664 MB / 1.397 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/1.421, allocations: 232.7 kB / 1.397 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/1.424, allocations: 1.272 MB / 1.399 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.424, allocations: 8.781 kB / 1.399 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.424, allocations: 0 / 1.399 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002591/1.427, allocations: 1.321 MB / 1.4 GB, free: 5.625 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.007579/1.434, allocations: 3.374 MB / 1.403 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.434, allocations: 3.984 kB / 1.403 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.435, allocations: 207.6 kB / 1.404 GB, free: 1.961 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/1.436, allocations: 44.83 kB / 1.404 GB, free: 1.914 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.952e-05/1.436, allocations: 27.98 kB / 1.404 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/1.437, allocations: 1.428 MB / 1.405 GB, free: 344 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.437, allocations: 4 kB / 1.405 GB, free: 340 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/1.442, allocations: 1.922 MB / 1.407 GB, free: 14.38 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.443, allocations: 402.1 kB / 1.407 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/1.443, allocations: 23.98 kB / 1.407 GB, free: 13.94 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.445, allocations: 171.6 kB / 1.407 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/1.445, allocations: 67.39 kB / 1.407 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-05/1.445, allocations: 35.97 kB / 1.408 GB, free: 13.67 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002574/1.448, allocations: 1.462 MB / 1.409 GB, free: 12.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.51e-07/1.448, allocations: 4 kB / 1.409 GB, free: 12.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003958/1.452, 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.001937/1.454, allocations: 0.7499 MB / 1.411 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005107/1.459, allocations: 2.454 MB / 1.413 GB, free: 8.055 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/1.459, allocations: 4.188 kB / 1.413 GB, free: 8.051 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.46, allocations: 0.659 MB / 1.414 GB, free: 7.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/1.466, allocations: 0.9813 MB / 1.415 GB, free: 6.426 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009906/1.476, allocations: 5.366 MB / 1.42 GB, free: 1.02 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.477, allocations: 1.692 MB / 1.422 GB, free: 15.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002602/1.48, allocations: 0.572 MB / 1.422 GB, free: 14.72 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/1.48, allocations: 167.4 kB / 1.422 GB, free: 14.56 MB / 1.061 GB Notification: Performance of SimCode: time 8.61e-07/1.48, allocations: 0 / 1.422 GB, free: 14.56 MB / 1.061 GB Notification: Performance of Templates: time 0.07302/1.553, allocations: 38.92 MB / 1.46 GB, free: 8.254 MB / 1.092 GB make -j1 -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)