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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007271/0.000727, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009175/0.0009177, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006088/0.000609, allocations: 21.47 kB / 0.6737 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2813, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.7763/1.058, allocations: 221.2 MB / 1.003 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02583/1.083, allocations: 17.51 MB / 1.02 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004205/1.088, allocations: 82.34 kB / 1.021 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003733/1.091, allocations: 0.9232 MB / 1.021 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0087/1.1, allocations: 2.566 MB / 1.024 GB, free: 192 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008599/1.109, allocations: 2.871 MB / 1.027 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008108/1.117, allocations: 5.824 MB / 1.032 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/1.12, allocations: 1.485 MB / 1.034 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005731/1.125, allocations: 2.324 MB / 1.036 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/1.128, allocations: 1.543 MB / 1.038 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002969/1.128, allocations: 84.78 kB / 1.038 GB, free: 7.789 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/1.134, allocations: 2.221 MB / 1.04 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007707/1.135, allocations: 0.6482 MB / 1.041 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008173/1.136, allocations: 485.4 kB / 1.041 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/1.14, allocations: 3.297 MB / 1.044 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.14, allocations: 0 / 1.044 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.403e-06/1.14, allocations: 0 / 1.044 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.191e-05/1.14, allocations: 0 / 1.044 GB, free: 3.766 MB / 0.7481 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.004364/1.144, allocations: 2.601 MB / 1.047 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.144, allocations: 10.94 kB / 1.047 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004199/1.149, allocations: 0.8233 MB / 1.048 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/1.152, allocations: 1.687 MB / 1.049 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003395/1.152, allocations: 183 kB / 1.049 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/1.152, allocations: 159.9 kB / 1.05 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/1.155, allocations: 1.794 MB / 1.051 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.155, allocations: 0 / 1.051 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/1.155, allocations: 60 kB / 1.051 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/1.156, allocations: 50.7 kB / 1.051 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/1.159, allocations: 1.572 MB / 1.053 GB, free: 11.77 MB / 0.7637 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.01349/1.172, allocations: 8.019 MB / 1.061 GB, free: 3.16 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/1.176, allocations: 2.019 MB / 1.063 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/1.178, allocations: 0.5588 MB / 1.063 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/1.179, allocations: 0.8111 MB / 1.064 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/1.181, allocations: 0.6025 MB / 1.065 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001222/1.182, allocations: 127.2 kB / 1.065 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=88): time 4.198e-06/1.182, allocations: 0 / 1.065 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=88): time 0.005503/1.188, allocations: 1.73 MB / 1.066 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/1.188, allocations: 137.5 kB / 1.067 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/1.192, allocations: 1.687 MB / 1.068 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/1.192, allocations: 49.7 kB / 1.068 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001385/1.193, allocations: 0.9675 MB / 1.069 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/1.194, allocations: 307.6 kB / 1.07 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/1.194, allocations: 20 kB / 1.07 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.194, allocations: 353.9 kB / 1.07 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.195, allocations: 486.3 kB / 1.07 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.197, allocations: 0.8673 MB / 1.071 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/1.199, allocations: 0.5941 MB / 1.072 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.199, allocations: 0 / 1.072 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004235/1.203, allocations: 1.543 MB / 1.073 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000395/1.204, allocations: 375 kB / 1.074 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/1.204, allocations: 12 kB / 1.074 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.835e-05/1.204, allocations: 12 kB / 1.074 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.205, allocations: 287.6 kB / 1.074 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.875e-05/1.205, allocations: 27.92 kB / 1.074 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.208, allocations: 175.3 kB / 1.074 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.208, allocations: 51.98 kB / 1.074 GB, free: 4.613 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.208, allocations: 4 kB / 1.074 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003571/1.211, allocations: 1.345 MB / 1.075 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/1.211, allocations: 8 kB / 1.076 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.211, allocations: 16 kB / 1.076 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.213, allocations: 284 kB / 1.076 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.53e-05/1.213, allocations: 23.88 kB / 1.076 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/1.215, allocations: 175.5 kB / 1.076 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002551/1.215, allocations: 47.98 kB / 1.076 GB, free: 2.719 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,uHea.y,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 135 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001408/1.217, allocations: 0.5631 MB / 1.077 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/1.217, allocations: 189.7 kB / 1.077 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/1.221, allocations: 1.264 MB / 1.078 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.221, allocations: 11.98 kB / 1.078 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.221, allocations: 0 / 1.078 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003037/1.224, allocations: 1.324 MB / 1.079 GB, free: 15.25 MB / 0.795 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.007575/1.232, allocations: 3.17 MB / 1.082 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.232, allocations: 0 / 1.082 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000942/1.233, allocations: 203.9 kB / 1.083 GB, free: 11.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/1.233, allocations: 48.83 kB / 1.083 GB, free: 11.71 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/1.233, allocations: 23.98 kB / 1.083 GB, free: 11.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/1.234, allocations: 1.421 MB / 1.084 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.234, allocations: 0 / 1.084 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/1.238, allocations: 1.923 MB / 1.086 GB, free: 8.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009246/1.239, allocations: 354.8 kB / 1.086 GB, free: 7.812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/1.239, allocations: 20 kB / 1.086 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.241, allocations: 167.7 kB / 1.086 GB, free: 7.629 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.241, allocations: 84.78 kB / 1.087 GB, free: 7.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/1.241, allocations: 27.98 kB / 1.087 GB, free: 7.516 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00205/1.243, allocations: 1.13 MB / 1.088 GB, free: 6.363 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.6e-07/1.243, allocations: 0 / 1.088 GB, free: 6.363 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003554/1.247, allocations: 1.052 MB / 1.089 GB, free: 5.309 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/1.248, allocations: 0.6482 MB / 1.089 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004163/1.253, allocations: 2 MB / 1.091 GB, free: 2.758 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.253, allocations: 0 / 1.091 GB, free: 2.758 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/1.254, allocations: 0.6567 MB / 1.092 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/1.258, allocations: 0.841 MB / 1.093 GB, free: 1.25 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009468/1.268, allocations: 4.649 MB / 1.097 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/1.269, allocations: 1.534 MB / 1.099 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002142/1.271, allocations: 459.5 kB / 1.099 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/1.272, allocations: 139.4 kB / 1.099 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of SimCode: time 8.01e-07/1.272, allocations: 0 / 1.099 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of Templates: time 0.0587/1.331, allocations: 32.79 MB / 1.131 GB, free: 10.09 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: