Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001167/0.001167, allocations: 177.3 kB / 15.95 MB, free: 216 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.76/1.76, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.6/1.6, allocations: 251.9 MB / 0.51 GB, free: 4.812 MB / 414.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.0008995/0.0008996, allocations: 19.44 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6888/0.6897, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.05394/0.7437, allocations: 50.6 MB / 0.7774 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.7618, allocations: 11.26 MB / 0.7884 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003361/0.7652, allocations: 59.56 kB / 0.7884 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.7689, allocations: 0.9252 MB / 0.7893 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008615/0.7775, allocations: 2.216 MB / 0.7915 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005468/0.783, allocations: 1.626 MB / 0.7931 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005665/0.7887, allocations: 2.536 MB / 0.7956 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.7906, allocations: 0.9911 MB / 0.7965 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.7933, allocations: 1.172 MB / 0.7977 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.7949, allocations: 0.7816 MB / 0.7984 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.7951, allocations: 56 kB / 0.7985 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.7982, allocations: 0.9361 MB / 0.7994 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.7985, allocations: 298.8 kB / 0.7997 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.7991, allocations: 364.8 kB / 0.8 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.8018, allocations: 1.863 MB / 0.8018 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.8018, allocations: 4 kB / 0.8019 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8018, allocations: 4 kB / 0.8019 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.871e-05/0.8019, allocations: 0 / 0.8019 GB, free: 15.57 MB / 0.6231 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.00351/0.8054, allocations: 1.89 MB / 0.8037 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.8054, allocations: 8.031 kB / 0.8037 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.8089, allocations: 0.6378 MB / 0.8043 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.8121, allocations: 1.242 MB / 0.8055 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.8123, allocations: 145.4 kB / 0.8057 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.8124, allocations: 95.91 kB / 0.8058 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00294/0.8154, allocations: 1.323 MB / 0.8071 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.8154, allocations: 4 kB / 0.8071 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.8155, allocations: 43.98 kB / 0.8071 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.8156, allocations: 27.94 kB / 0.8071 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.8191, allocations: 1.386 MB / 0.8085 GB, free: 8.605 MB / 0.6231 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.007343/0.8265, allocations: 5.367 MB / 0.8137 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002531/0.829, allocations: 1.117 MB / 0.8148 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000908/0.8299, allocations: 1.24 MB / 0.816 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/0.8317, allocations: 0.6784 MB / 0.8167 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 4.108e-06/0.8317, allocations: 8 kB / 0.8167 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.005046/0.8368, allocations: 1.789 MB / 0.8185 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.8368, allocations: 55.97 kB / 0.8185 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.8386, allocations: 1.296 MB / 0.8198 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.8387, allocations: 49.69 kB / 0.8198 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/0.8393, allocations: 0.6661 MB / 0.8205 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.8396, allocations: 240.4 kB / 0.8207 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.8396, allocations: 16 kB / 0.8207 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8398, allocations: 341.9 kB / 0.821 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.8413, allocations: 0.5524 MB / 0.8216 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.843, allocations: 0.7703 MB / 0.8223 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.8445, allocations: 0.6097 MB / 0.8229 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.8445, allocations: 4 kB / 0.8229 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003826/0.8484, allocations: 1.469 MB / 0.8244 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005659/0.849, allocations: 1.195 MB / 0.8255 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.849, allocations: 8 kB / 0.8255 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.849, allocations: 8 kB / 0.8255 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.8503, allocations: 283.5 kB / 0.8258 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.8503, allocations: 4 kB / 0.8258 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.8521, allocations: 243 kB / 0.8261 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/0.8522, allocations: 39.97 kB / 0.8261 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.8522, allocations: 4 kB / 0.8261 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003296/0.8555, allocations: 1.317 MB / 0.8274 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.8555, allocations: 0 / 0.8274 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.8555, allocations: 8 kB / 0.8274 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.8567, allocations: 276 kB / 0.8277 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.8568, allocations: 15.86 kB / 0.8277 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.8584, allocations: 231.1 kB / 0.8279 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.8585, allocations: 39.98 kB / 0.8279 GB, free: 3.746 MB / 0.6387 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.0008072/0.8593, allocations: 420.8 kB / 0.8283 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.8595, allocations: 150.1 kB / 0.8285 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.8633, allocations: 1.528 MB / 0.83 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.8634, allocations: 8 kB / 0.83 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.8634, allocations: 4 kB / 0.83 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003155/0.8665, allocations: 1.296 MB / 0.8312 GB, free: 300 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007282/0.8738, allocations: 3.273 MB / 0.8344 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.8739, allocations: 4 kB / 0.8344 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.875, allocations: 227.8 kB / 0.8347 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.283e-05/0.875, allocations: 8 kB / 0.8347 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.131e-05/0.8751, allocations: 31.98 kB / 0.8347 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.8752, allocations: 15.92 kB / 0.8347 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.8752, allocations: 7.984 kB / 0.8347 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/0.8809, allocations: 2.612 MB / 0.8373 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.8821, allocations: 378.8 kB / 0.8376 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004144/0.8825, allocations: 23.98 kB / 0.8377 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.8843, allocations: 175.8 kB / 0.8378 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.8845, allocations: 76.36 kB / 0.8379 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.8846, allocations: 35.97 kB / 0.8379 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001757/0.8864, allocations: 0.9215 MB / 0.8388 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8864, allocations: 0 / 0.8388 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002976/0.8893, allocations: 0.7954 MB / 0.8396 GB, free: 7.297 MB / 0.6544 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.001158/0.8905, allocations: 0.5056 MB / 0.8401 GB, free: 6.797 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00571/0.8962, allocations: 2.093 MB / 0.8421 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.8963, allocations: 0 / 0.8421 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/0.8983, allocations: 0.7186 MB / 0.8428 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.9024, allocations: 0.7317 MB / 0.8436 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.9089, allocations: 3.217 MB / 0.8467 GB, free: 15.93 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.9101, allocations: 1.272 MB / 0.8479 GB, free: 14.63 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002112/0.9122, allocations: 357.3 kB / 0.8483 GB, free: 14.28 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/0.9127, allocations: 127.3 kB / 0.8484 GB, free: 14.15 MB / 0.67 GB Notification: Performance of SimCode: time 1.332e-06/0.9127, allocations: 0 / 0.8484 GB, free: 14.15 MB / 0.67 GB Notification: Performance of Templates: time 0.05659/0.9693, allocations: 29.3 MB / 0.877 GB, free: 1.266 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) Environment - environmentSimulation: