Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 178.4 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 101.7 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3406, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.9304/1.271, allocations: 240.4 MB / 1.217 GB, free: 8 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03904/1.31, allocations: 19.18 MB / 1.236 GB, free: 10.86 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006092/1.316, allocations: 81.12 kB / 1.236 GB, free: 10.83 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.006349/1.323, allocations: 1.219 MB / 1.237 GB, free: 10.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/1.336, allocations: 3.235 MB / 1.24 GB, free: 8.438 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01537/1.351, allocations: 3.309 MB / 1.243 GB, free: 6.773 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01609/1.367, allocations: 6.865 MB / 1.25 GB, free: 4.27 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00477/1.372, allocations: 1.744 MB / 1.252 GB, free: 3.52 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/1.383, allocations: 2.706 MB / 1.254 GB, free: 2.355 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006996/1.39, allocations: 1.675 MB / 1.256 GB, free: 1.668 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009949/1.391, allocations: 111.6 kB / 1.256 GB, free: 1.668 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/1.405, allocations: 3.895 MB / 1.26 GB, free: 300 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002757/1.407, allocations: 0.6836 MB / 1.261 GB, free: 24 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003566/1.411, allocations: 1.168 MB / 1.262 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01357/1.425, allocations: 4.731 MB / 1.266 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.425, allocations: 0 / 1.266 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.595e-06/1.425, allocations: 0 / 1.266 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001177/1.425, allocations: 4 kB / 1.266 GB, free: 13.66 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.008508/1.433, allocations: 3.006 MB / 1.269 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/1.433, allocations: 14.03 kB / 1.269 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005458/1.439, allocations: 0.7846 MB / 1.27 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/1.444, allocations: 1.774 MB / 1.272 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004346/1.444, allocations: 173.8 kB / 1.272 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/1.445, allocations: 151.6 kB / 1.272 GB, free: 10.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/1.448, allocations: 1.763 MB / 1.274 GB, free: 8.875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/1.448, allocations: 8 kB / 1.274 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/1.449, allocations: 56 kB / 1.274 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.548e-05/1.449, allocations: 50.7 kB / 1.274 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/1.452, allocations: 1.521 MB / 1.275 GB, free: 7.234 MB / 0.8386 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.01257/1.465, allocations: 7.898 MB / 1.283 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/1.468, allocations: 1.969 MB / 1.285 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/1.469, allocations: 0.5393 MB / 1.286 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/1.47, allocations: 0.7711 MB / 1.286 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001319/1.472, allocations: 0.5886 MB / 1.287 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00125/1.473, allocations: 119.2 kB / 1.287 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=88): time 4.018e-06/1.473, allocations: 0 / 1.287 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88): time 0.004552/1.477, allocations: 1.66 MB / 1.289 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/1.478, allocations: 119.8 kB / 1.289 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/1.48, allocations: 1.651 MB / 1.29 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.48, allocations: 53.69 kB / 1.29 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009475/1.481, allocations: 0.983 MB / 1.291 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/1.482, allocations: 307.6 kB / 1.292 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/1.482, allocations: 226.8 kB / 1.292 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.482, allocations: 353.9 kB / 1.292 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.483, allocations: 493.8 kB / 1.293 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/1.485, allocations: 0.8478 MB / 1.294 GB, free: 3.453 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002388/1.487, allocations: 1.308 MB / 1.295 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.487, allocations: 4 kB / 1.295 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003341/1.49, allocations: 1.532 MB / 1.296 GB, free: 476 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/1.49, allocations: 37.7 kB / 1.296 GB, free: 432 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.49, allocations: 8 kB / 1.296 GB, free: 424 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/1.491, allocations: 16 kB / 1.296 GB, free: 408 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/1.492, allocations: 283.9 kB / 1.297 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/1.492, allocations: 19.94 kB / 1.297 GB, free: 104 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.494, allocations: 160.4 kB / 1.297 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/1.494, allocations: 55.97 kB / 1.297 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002/1.496, allocations: 0.8695 MB / 1.298 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001331/1.497, allocations: 0.8322 MB / 1.299 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002312/1.499, allocations: 1.277 MB / 1.3 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.788e-06/1.499, allocations: 4.625 kB / 1.3 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.003336/1.503, allocations: 1.497 MB / 1.301 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/1.503, allocations: 37.7 kB / 1.301 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/1.503, allocations: 13.36 kB / 1.301 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.503, allocations: 20.03 kB / 1.301 GB, free: 11.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.504, allocations: 271.6 kB / 1.302 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/1.504, allocations: 19.92 kB / 1.302 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/1.506, allocations: 160.5 kB / 1.302 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.506, allocations: 53 kB / 1.302 GB, free: 10.54 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (140): * Single equations (assignments): 136 * Array equations: 2 * 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.0004148/1.507, allocations: 268.1 kB / 1.302 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003125/1.507, allocations: 193.6 kB / 1.302 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/1.51, allocations: 1.205 MB / 1.303 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.51, allocations: 8 kB / 1.303 GB, free: 8.855 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/1.51, allocations: 11.92 kB / 1.303 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002315/1.513, allocations: 1.274 MB / 1.305 GB, free: 7.48 MB / 0.8698 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.006838/1.519, allocations: 3.072 MB / 1.308 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.519, allocations: 4 kB / 1.308 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/1.52, allocations: 195.9 kB / 1.308 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/1.521, allocations: 48.81 kB / 1.308 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.923e-05/1.521, allocations: 23.98 kB / 1.308 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/1.522, allocations: 1.412 MB / 1.309 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.522, allocations: 3.25 kB / 1.309 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1513/1.673, allocations: 32.33 MB / 1.341 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001565/1.675, allocations: 350.5 kB / 1.341 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006473/1.676, allocations: 24 kB / 1.341 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/1.678, allocations: 158.1 kB / 1.341 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/1.678, allocations: 68.84 kB / 1.342 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.678, allocations: 35.92 kB / 1.342 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00279/1.681, allocations: 1.111 MB / 1.343 GB, free: 4 kB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/1.681, allocations: 0 / 1.343 GB, free: 4 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01056/1.692, allocations: 1.626 MB / 1.344 GB, free: 14.38 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[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.002614/1.694, allocations: 0.6976 MB / 1.345 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0052/1.699, allocations: 1.964 MB / 1.347 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.699, allocations: 0 / 1.347 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/1.701, allocations: 0.6421 MB / 1.347 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005605/1.707, allocations: 0.8099 MB / 1.348 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.721, allocations: 5.275 MB / 1.353 GB, free: 4.992 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001906/1.723, allocations: 1.55 MB / 1.355 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003617/1.727, allocations: 0.498 MB / 1.355 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007743/1.728, allocations: 159.4 kB / 1.356 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of SimCode: time 1.332e-06/1.728, allocations: 0 / 1.356 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of Templates: time 0.6474/2.375, allocations: 43.98 MB / 1.398 GB, free: 271.3 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)