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.688/1.688, allocations: 288.4 MB / 304.3 MB, free: 8.141 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.001051/0.001051, allocations: 187.3 kB / 372.9 MB, free: 10.15 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.614/1.614, allocations: 205.4 MB / 0.6316 GB, free: 9.809 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.0008826/0.0008826, allocations: 94.3 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004535, allocations: 16.86 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.05392/0.2707, allocations: 55.77 MB / 1.035 GB, free: 3.418 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01998/0.2907, allocations: 12.27 MB / 1.047 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.2941, allocations: 55.62 kB / 1.047 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.2973, allocations: 0.7026 MB / 1.048 GB, free: 6.363 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.3048, allocations: 1.953 MB / 1.05 GB, free: 4.402 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004446/0.3092, allocations: 1.193 MB / 1.051 GB, free: 3.223 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007687/0.3169, allocations: 4.78 MB / 1.056 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.3192, allocations: 1.092 MB / 1.057 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.3225, allocations: 1.322 MB / 1.058 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.3244, allocations: 1.089 MB / 1.059 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.3246, allocations: 60 kB / 1.059 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.3277, allocations: 1.298 MB / 1.06 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003632/0.328, allocations: 326.5 kB / 1.061 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.3291, allocations: 0.8063 MB / 1.062 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002881/0.332, allocations: 2.038 MB / 1.063 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.332, allocations: 0 / 1.063 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.444e-06/0.332, allocations: 0 / 1.063 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.3321, allocations: 0 / 1.063 GB, free: 6.344 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.003372/0.3354, allocations: 1.898 MB / 1.065 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3355, allocations: 8.031 kB / 1.065 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.3388, allocations: 0.6464 MB / 1.066 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.3412, allocations: 1.392 MB / 1.067 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.3413, allocations: 141.4 kB / 1.067 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.3415, allocations: 103.9 kB / 1.068 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.3444, allocations: 1.342 MB / 1.069 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3445, allocations: 0 / 1.069 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-05/0.3446, allocations: 39.94 kB / 1.069 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.3446, allocations: 28 kB / 1.069 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4681/0.8127, allocations: 1.379 MB / 1.07 GB, free: 90.4 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.009345/0.8221, allocations: 5.39 MB / 1.076 GB, free: 87.17 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.8248, allocations: 1.088 MB / 1.077 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.8266, allocations: 0.6264 MB / 1.077 GB, free: 86.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/0.8273, allocations: 1.234 MB / 1.078 GB, free: 85.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001942/0.8293, allocations: 0.6914 MB / 1.079 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.947e-06/0.8293, allocations: 0 / 1.079 GB, free: 84.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005521/0.8348, allocations: 1.802 MB / 1.081 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.8349, allocations: 64.62 kB / 1.081 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.8374, allocations: 1.297 MB / 1.082 GB, free: 83.92 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.8375, allocations: 44.27 kB / 1.082 GB, free: 83.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005781/0.8381, allocations: 0.6673 MB / 1.083 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.8383, allocations: 237.5 kB / 1.083 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.8384, allocations: 15.47 kB / 1.083 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/0.8385, allocations: 338.8 kB / 1.083 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.8402, allocations: 0.5506 MB / 1.084 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.842, allocations: 0.7731 MB / 1.085 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.8453, allocations: 1.206 MB / 1.086 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8453, allocations: 1.312 kB / 1.086 GB, free: 81.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004034/0.8494, allocations: 1.461 MB / 1.087 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.8495, allocations: 217.6 kB / 1.088 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8495, allocations: 2.062 kB / 1.088 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.8495, allocations: 6.688 kB / 1.088 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.8508, allocations: 267 kB / 1.088 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.8509, allocations: 6.938 kB / 1.088 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.8526, allocations: 241.3 kB / 1.088 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8527, allocations: 48.14 kB / 1.088 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.8528, allocations: 4.938 kB / 1.088 GB, free: 81.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/0.8563, allocations: 1.306 MB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8563, allocations: 3.078 kB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.8563, allocations: 6.688 kB / 1.089 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.8576, allocations: 273.2 kB / 1.09 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.8576, allocations: 10.66 kB / 1.09 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.8593, allocations: 241.4 kB / 1.09 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/0.8594, allocations: 39.84 kB / 1.09 GB, free: 80.56 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.0008168/0.8603, allocations: 416.3 kB / 1.09 GB, free: 80.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.8605, allocations: 146.3 kB / 1.09 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/0.8644, allocations: 1.534 MB / 1.092 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003068/0.8675, allocations: 1.294 MB / 1.093 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8675, allocations: 4.344 kB / 1.093 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009546/0.8685, allocations: 365.5 kB / 1.094 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.8687, allocations: 17.02 kB / 1.094 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.87, allocations: 174.9 kB / 1.094 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.8701, allocations: 55.48 kB / 1.094 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004334/0.8745, allocations: 1.502 MB / 1.095 GB, free: 78.47 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00565/0.8802, allocations: 2.3 MB / 1.098 GB, free: 77.6 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00171/0.8819, allocations: 0.6373 MB / 1.098 GB, free: 77.42 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001368/0.8833, allocations: 0.8949 MB / 1.099 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of Backend: time 4.01e-07/0.8833, allocations: 0.9688 kB / 1.099 GB, free: 77.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005978/0.8893, allocations: 2.098 MB / 1.101 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006648/0.8959, allocations: 3.718 MB / 1.105 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of Templates: time 0.05327/0.9492, allocations: 34.72 MB / 1.139 GB, free: 47.69 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)