Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.821/1.821, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001488/0.001489, allocations: 177 kB / 371.8 MB, free: 10.29 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.666/1.666, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 94.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005503/0.0005504, allocations: 15.75 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2759, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.04281/0.3188, allocations: 50.6 MB / 1.029 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01786/0.3367, allocations: 11.27 MB / 1.04 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.3393, allocations: 51.62 kB / 1.04 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.3429, allocations: 0.9291 MB / 1.041 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008086/0.351, allocations: 2.223 MB / 1.043 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005806/0.3568, allocations: 1.724 MB / 1.045 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006199/0.363, allocations: 2.537 MB / 1.047 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.3654, allocations: 1.001 MB / 1.048 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.3689, allocations: 1.164 MB / 1.049 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.3713, allocations: 0.7894 MB / 1.05 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005001/0.3719, allocations: 56 kB / 1.05 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.3753, allocations: 0.9284 MB / 1.051 GB, free: 2.297 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006779/0.376, allocations: 302.8 kB / 1.051 GB, free: 2 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.377, allocations: 364.8 kB / 1.052 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.3809, allocations: 1.89 MB / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3809, allocations: 4 kB / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3809, allocations: 0 / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.102e-05/0.381, allocations: 0 / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004506/0.3855, allocations: 1.89 MB / 1.055 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3856, allocations: 12.03 kB / 1.055 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/0.3892, allocations: 0.6379 MB / 1.056 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.392, allocations: 1.23 MB / 1.057 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.3922, allocations: 145.4 kB / 1.057 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.3924, allocations: 100 kB / 1.057 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.3954, allocations: 1.334 MB / 1.059 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.3955, allocations: 0 / 1.059 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.3956, allocations: 43.94 kB / 1.059 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.3957, allocations: 27.94 kB / 1.059 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/0.3993, allocations: 1.382 MB / 1.06 GB, free: 8.773 MB / 0.6823 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.007827/0.4072, allocations: 5.394 MB / 1.065 GB, free: 3.027 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.41, allocations: 1.118 MB / 1.066 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009924/0.411, allocations: 1.24 MB / 1.068 GB, free: 356 kB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.46/0.871, allocations: 0.683 MB / 1.068 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.721e-06/0.871, allocations: 0 / 1.068 GB, free: 89.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.006209/0.8773, allocations: 1.791 MB / 1.07 GB, free: 89.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.8773, allocations: 63.73 kB / 1.07 GB, free: 89.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.8793, allocations: 1.299 MB / 1.071 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.8794, allocations: 44.47 kB / 1.071 GB, free: 89.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005813/0.88, allocations: 0.6697 MB / 1.072 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.8803, allocations: 233.1 kB / 1.072 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.8803, allocations: 15.25 kB / 1.072 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.51e-05/0.8804, allocations: 337.5 kB / 1.073 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.8821, allocations: 0.5502 MB / 1.073 GB, free: 88.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.884, allocations: 0.7756 MB / 1.074 GB, free: 87.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.8858, allocations: 0.6044 MB / 1.075 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.8858, allocations: 0.9375 kB / 1.075 GB, free: 87.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004303/0.8901, allocations: 1.466 MB / 1.076 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002674/0.8904, allocations: 1.203 MB / 1.077 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.8905, allocations: 4.031 kB / 1.077 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.8905, allocations: 6.156 kB / 1.077 GB, free: 86.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.8919, allocations: 281.1 kB / 1.077 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.379e-05/0.8919, allocations: 7.234 kB / 1.077 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.8938, allocations: 244.5 kB / 1.078 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.8939, allocations: 40.02 kB / 1.078 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8939, allocations: 6.125 kB / 1.078 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003706/0.8976, allocations: 1.315 MB / 1.079 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.8977, allocations: 3.5 kB / 1.079 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.8977, allocations: 7.312 kB / 1.079 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.899, allocations: 279.4 kB / 1.079 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.899, allocations: 7.312 kB / 1.079 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.901, allocations: 232.2 kB / 1.079 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.9011, allocations: 39.75 kB / 1.08 GB, free: 85.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0008592/0.902, allocations: 420.3 kB / 1.08 GB, free: 85.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.9023, allocations: 149 kB / 1.08 GB, free: 85.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/0.9064, allocations: 1.535 MB / 1.082 GB, free: 84.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.9065, allocations: 13.38 kB / 1.082 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.9065, allocations: 1.5 kB / 1.082 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003595/0.9101, allocations: 1.293 MB / 1.083 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007423/0.9175, allocations: 3.275 MB / 1.086 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.9176, allocations: 8.156 kB / 1.086 GB, free: 82.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.9187, allocations: 231 kB / 1.086 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/0.9187, allocations: 8.406 kB / 1.086 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.9188, allocations: 28.86 kB / 1.086 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.9188, allocations: 9.312 kB / 1.086 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.9188, allocations: 11.64 kB / 1.086 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/0.9246, allocations: 2.61 MB / 1.089 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009211/0.9255, allocations: 377.7 kB / 1.089 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.9258, allocations: 24.52 kB / 1.089 GB, free: 80.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.9272, allocations: 182.5 kB / 1.089 GB, free: 80.87 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.9274, allocations: 76.64 kB / 1.09 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.9275, allocations: 39.14 kB / 1.09 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001629/0.9292, allocations: 0.9252 MB / 1.09 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9292, allocations: 0 / 1.09 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002591/0.9318, allocations: 0.797 MB / 1.091 GB, free: 80.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.9329, allocations: 0.5121 MB / 1.092 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005679/0.9386, allocations: 2.091 MB / 1.094 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.9386, allocations: 1.469 kB / 1.094 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.9407, allocations: 0.7194 MB / 1.094 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/0.9444, allocations: 0.7351 MB / 1.095 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/0.9495, allocations: 3.215 MB / 1.098 GB, free: 77.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007347/0.9503, allocations: 1.28 MB / 1.1 GB, free: 76.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002021/0.9523, allocations: 360.2 kB / 1.1 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.9527, allocations: 122.7 kB / 1.1 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/0.9527, allocations: 0 / 1.1 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.04679/0.9995, allocations: 29.42 MB / 1.129 GB, free: 56.29 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)