Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.4 MB / 304.3 MB, free: 8.172 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.001016/0.001016, allocations: 167.2 kB / 372.9 MB, free: 10.17 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.779/1.779, 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.000908/0.0009081, allocations: 98.38 kB / 0.745 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.000631, allocations: 15.81 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2465, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.04713/0.2937, allocations: 55.77 MB / 1.035 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.3144, allocations: 12.23 MB / 1.047 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00272/0.3172, allocations: 59.56 kB / 1.047 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00221/0.3194, allocations: 0.7026 MB / 1.048 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.3254, allocations: 1.95 MB / 1.05 GB, free: 4.449 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.003731/0.3291, allocations: 1.184 MB / 1.051 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006263/0.3354, allocations: 4.789 MB / 1.056 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/0.3377, allocations: 1.095 MB / 1.057 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.3409, allocations: 1.318 MB / 1.058 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.3431, allocations: 1.089 MB / 1.059 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.3435, allocations: 60 kB / 1.059 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.3471, allocations: 1.267 MB / 1.06 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006611/0.3478, allocations: 310.6 kB / 1.061 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.3494, allocations: 0.7946 MB / 1.061 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.3522, allocations: 2.011 MB / 1.063 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3523, allocations: 4 kB / 1.063 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3523, allocations: 0 / 1.063 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.3523, allocations: 3.938 kB / 1.063 GB, free: 6.473 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.003324/0.3556, allocations: 1.869 MB / 1.065 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3557, allocations: 12.03 kB / 1.065 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003296/0.359, allocations: 0.6386 MB / 1.066 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.3612, allocations: 1.365 MB / 1.067 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.3614, allocations: 145.4 kB / 1.067 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.3616, allocations: 100 kB / 1.067 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00286/0.3644, allocations: 1.334 MB / 1.069 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.3645, allocations: 3.938 kB / 1.069 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3646, allocations: 39.98 kB / 1.069 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.3646, allocations: 32 kB / 1.069 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4599/0.8245, allocations: 1.363 MB / 1.07 GB, free: 90.41 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.008954/0.8335, allocations: 5.361 MB / 1.075 GB, free: 87.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/0.8395, allocations: 1.479 MB / 1.077 GB, free: 86.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.8414, allocations: 0.6204 MB / 1.077 GB, free: 86.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.8422, allocations: 1.234 MB / 1.079 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002105/0.8443, allocations: 0.6867 MB / 1.079 GB, free: 85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.336e-06/0.8443, allocations: 6.797 kB / 1.079 GB, free: 85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005829/0.8502, allocations: 1.774 MB / 1.081 GB, free: 84.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.8502, allocations: 64.47 kB / 1.081 GB, free: 84.49 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.8524, allocations: 1.244 MB / 1.082 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.8525, allocations: 44.17 kB / 1.082 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005754/0.8531, allocations: 0.6437 MB / 1.083 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/0.8533, allocations: 239.6 kB / 1.083 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.8534, allocations: 14.91 kB / 1.083 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.8535, allocations: 338.8 kB / 1.084 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.8552, allocations: 0.5415 MB / 1.084 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.8571, allocations: 0.7695 MB / 1.085 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.8603, allocations: 1.189 MB / 1.086 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.8604, allocations: 1.094 kB / 1.086 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004183/0.8645, allocations: 1.449 MB / 1.087 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.8647, allocations: 213 kB / 1.088 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.8647, allocations: 2.656 kB / 1.088 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.8648, allocations: 7.516 kB / 1.088 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.8662, allocations: 273.6 kB / 1.088 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.8662, allocations: 10.95 kB / 1.088 GB, free: 81.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.8682, allocations: 246 kB / 1.088 GB, free: 81.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.8683, allocations: 40.52 kB / 1.088 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.8683, allocations: 3.219 kB / 1.088 GB, free: 81.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004283/0.8726, allocations: 1.291 MB / 1.089 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.8727, allocations: 7.609 kB / 1.089 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.8727, allocations: 8.594 kB / 1.089 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.8743, allocations: 272.6 kB / 1.09 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.043e-05/0.8743, allocations: 10.52 kB / 1.09 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/0.8769, allocations: 232.4 kB / 1.09 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.877, allocations: 35.14 kB / 1.09 GB, free: 80.67 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.001258/0.8783, allocations: 414.4 kB / 1.09 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000606/0.8789, allocations: 145.5 kB / 1.09 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/0.8837, allocations: 1.515 MB / 1.092 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003263/0.8869, allocations: 1.282 MB / 1.093 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.887, allocations: 1.734 kB / 1.093 GB, free: 79.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.8882, allocations: 355.6 kB / 1.094 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.8884, allocations: 12.78 kB / 1.094 GB, free: 79.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.8897, allocations: 175.8 kB / 1.094 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.8899, allocations: 55.08 kB / 1.094 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004739/0.8947, allocations: 1.492 MB / 1.095 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006041/0.9007, allocations: 2.279 MB / 1.097 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001695/0.9025, allocations: 0.6323 MB / 1.098 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001565/0.904, allocations: 0.8588 MB / 1.099 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of Backend: time 1.142e-06/0.904, allocations: 4 kB / 1.099 GB, free: 77.21 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006372/0.9104, allocations: 2.078 MB / 1.101 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006257/0.9167, allocations: 3.652 MB / 1.105 GB, free: 74.14 MB / 0.6823 GB Notification: Performance of Templates: time 0.05208/0.9688, allocations: 34.41 MB / 1.138 GB, free: 48.23 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)