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.001619/0.001619, allocations: 94.83 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.01082/0.01082, allocations: 176 kB / 16.27 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.777/1.777, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0006452/0.0006452, allocations: 9.781 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2994, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater): time 0.8083/1.108, allocations: 237.1 MB / 1.019 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03413/1.142, allocations: 18.96 MB / 1.038 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005389/1.147, allocations: 82.25 kB / 1.038 GB, free: 5.043 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.005379/1.153, allocations: 1.209 MB / 1.039 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01323/1.166, allocations: 3.239 MB / 1.042 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01167/1.178, allocations: 3.311 MB / 1.046 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01104/1.189, allocations: 6.832 MB / 1.052 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/1.192, allocations: 1.69 MB / 1.054 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007295/1.2, allocations: 2.614 MB / 1.057 GB, free: 8.918 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004253/1.204, allocations: 1.586 MB / 1.058 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0005753/1.204, allocations: 84 kB / 1.058 GB, free: 7.246 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008498/1.213, allocations: 3.862 MB / 1.062 GB, free: 3.375 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/1.214, allocations: 0.6384 MB / 1.063 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002749/1.217, allocations: 1.144 MB / 1.064 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/1.228, allocations: 4.646 MB / 1.068 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.228, allocations: 0 / 1.068 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.355e-06/1.228, allocations: 0 / 1.068 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001531/1.228, allocations: 0 / 1.068 GB, free: 12.92 MB / 0.7794 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.006183/1.234, allocations: 2.563 MB / 1.071 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.234, allocations: 15.97 kB / 1.071 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/1.239, allocations: 0.8204 MB / 1.071 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/1.243, allocations: 1.783 MB / 1.073 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/1.243, allocations: 179 kB / 1.073 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/1.244, allocations: 152 kB / 1.074 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/1.247, allocations: 1.783 MB / 1.075 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/1.247, allocations: 7.984 kB / 1.075 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.247, allocations: 63.98 kB / 1.075 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/1.248, allocations: 50.7 kB / 1.075 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/1.251, allocations: 1.564 MB / 1.077 GB, free: 3.746 MB / 0.7794 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.01182/1.263, allocations: 7.945 MB / 1.085 GB, free: 11.21 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/1.266, allocations: 2.027 MB / 1.087 GB, free: 8.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.267, allocations: 0.5549 MB / 1.087 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.269, allocations: 0.8102 MB / 1.088 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/1.27, allocations: 0.5986 MB / 1.089 GB, free: 6.855 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001148/1.271, allocations: 123.2 kB / 1.089 GB, free: 6.734 MB / 0.795 GB Notification: Performance of pre-optimization done (n=88): time 3.557e-06/1.271, allocations: 0 / 1.089 GB, free: 6.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=88): time 0.004444/1.276, allocations: 1.718 MB / 1.09 GB, free: 4.988 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/1.276, allocations: 119.8 kB / 1.091 GB, free: 4.848 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/1.278, allocations: 1.655 MB / 1.092 GB, free: 3.148 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/1.278, allocations: 45.7 kB / 1.092 GB, free: 3.098 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008712/1.279, allocations: 0.9791 MB / 1.093 GB, free: 2.109 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/1.28, allocations: 307.6 kB / 1.093 GB, free: 1.805 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/1.28, allocations: 105.7 kB / 1.094 GB, free: 1.695 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.28, allocations: 357.9 kB / 1.094 GB, free: 1.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/1.281, allocations: 498.3 kB / 1.094 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/1.283, allocations: 0.8673 MB / 1.095 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002584/1.285, allocations: 1.343 MB / 1.096 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.285, allocations: 0 / 1.096 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003648/1.289, allocations: 1.567 MB / 1.098 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003761/1.289, allocations: 384.3 kB / 1.098 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-05/1.289, allocations: 12 kB / 1.098 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/1.289, allocations: 12 kB / 1.098 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.291, allocations: 291.5 kB / 1.099 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.673e-05/1.291, allocations: 19.94 kB / 1.099 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/1.293, allocations: 167.7 kB / 1.099 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/1.293, allocations: 59.92 kB / 1.099 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.293, allocations: 4 kB / 1.099 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003254/1.296, allocations: 1.352 MB / 1.1 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/1.296, allocations: 12 kB / 1.1 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.296, allocations: 19.97 kB / 1.1 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.297, allocations: 288.1 kB / 1.101 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/1.297, allocations: 23.92 kB / 1.101 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/1.3, allocations: 167 kB / 1.101 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.3, allocations: 51.98 kB / 1.101 GB, free: 9.805 MB / 0.8106 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.0013/1.301, allocations: 0.5631 MB / 1.101 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/1.301, allocations: 193.6 kB / 1.102 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00319/1.305, allocations: 1.248 MB / 1.103 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.305, allocations: 8 kB / 1.103 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.305, allocations: 4 kB / 1.103 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002448/1.307, allocations: 1.313 MB / 1.104 GB, free: 6.359 MB / 0.8106 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.006904/1.314, allocations: 3.111 MB / 1.107 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.314, allocations: 3.938 kB / 1.107 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/1.315, allocations: 207.9 kB / 1.107 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/1.315, allocations: 44.83 kB / 1.107 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.292e-05/1.316, allocations: 23.98 kB / 1.107 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/1.317, allocations: 1.413 MB / 1.109 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.317, allocations: 0 / 1.109 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/1.321, allocations: 1.911 MB / 1.111 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009524/1.322, allocations: 350.6 kB / 1.111 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/1.322, allocations: 23.98 kB / 1.111 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.324, allocations: 167.6 kB / 1.111 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/1.324, allocations: 60.92 kB / 1.111 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-05/1.324, allocations: 35.97 kB / 1.111 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002256/1.326, allocations: 1.111 MB / 1.112 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.545e-06/1.327, allocations: 0 / 1.112 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004098/1.331, allocations: 1.04 MB / 1.113 GB, free: 12.54 MB / 0.8262 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.001863/1.332, allocations: 0.6497 MB / 1.114 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004508/1.337, allocations: 2.016 MB / 1.116 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.337, allocations: 4.062 kB / 1.116 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/1.338, allocations: 0.6604 MB / 1.117 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.343, allocations: 0.8188 MB / 1.117 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00906/1.352, allocations: 4.739 MB / 1.122 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/1.354, allocations: 1.527 MB / 1.123 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.002387/1.356, allocations: 463.2 kB / 1.124 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/1.357, allocations: 135.4 kB / 1.124 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/1.357, allocations: 0 / 1.124 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.05972/1.417, allocations: 32.74 MB / 1.156 GB, free: 1.281 MB / 0.8575 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: