Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.64/1.64, allocations: 287.4 MB / 303.2 MB, free: 8.176 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.001108/0.001109, allocations: 186.7 kB / 371.8 MB, free: 10.82 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.688/1.688, allocations: 205.4 MB / 0.6305 GB, free: 10.46 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.000855/0.0008551, allocations: 93.2 kB / 0.7438 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004821, allocations: 10.81 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2389, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.0474/0.2863, allocations: 55.77 MB / 1.034 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01822/0.3046, allocations: 12.23 MB / 1.046 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.3075, allocations: 55.62 kB / 1.046 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002434/0.31, allocations: 0.7065 MB / 1.046 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.3165, allocations: 1.828 MB / 1.048 GB, free: 5.414 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.003994/0.3205, allocations: 1.154 MB / 1.049 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006475/0.327, allocations: 4.787 MB / 1.054 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.3289, allocations: 1.084 MB / 1.055 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.3318, allocations: 1.291 MB / 1.056 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.3336, allocations: 1.097 MB / 1.057 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.3338, allocations: 60 kB / 1.057 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.3369, allocations: 0.9861 MB / 1.058 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.3373, allocations: 318.6 kB / 1.059 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006432/0.338, allocations: 356.8 kB / 1.059 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.3406, allocations: 1.937 MB / 1.061 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3406, allocations: 0 / 1.061 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3406, allocations: 0 / 1.061 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.3406, allocations: 4 kB / 1.061 GB, free: 8.297 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.003597/0.3442, allocations: 1.872 MB / 1.063 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3443, allocations: 8.031 kB / 1.063 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.3476, allocations: 0.6386 MB / 1.063 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.3498, allocations: 1.368 MB / 1.065 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.35, allocations: 145.4 kB / 1.065 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.3502, allocations: 104 kB / 1.065 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002752/0.3529, allocations: 1.33 MB / 1.066 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.353, allocations: 4 kB / 1.066 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.3531, allocations: 36 kB / 1.066 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/0.3531, allocations: 27.94 kB / 1.066 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.3565, allocations: 1.374 MB / 1.068 GB, free: 1.23 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.4998/0.8563, allocations: 5.354 MB / 1.073 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00542/0.8618, allocations: 1.484 MB / 1.074 GB, free: 87.13 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.8636, allocations: 0.62 MB / 1.075 GB, free: 86.97 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/0.8643, allocations: 1.238 MB / 1.076 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.8662, allocations: 0.6805 MB / 1.077 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.468e-06/0.8662, allocations: 0 / 1.077 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.005719/0.8719, allocations: 1.779 MB / 1.079 GB, free: 84.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.872, allocations: 59.44 kB / 1.079 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.8743, allocations: 1.248 MB / 1.08 GB, free: 84.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/0.8745, allocations: 40.42 kB / 1.08 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/0.875, allocations: 0.6487 MB / 1.081 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.8753, allocations: 240.3 kB / 1.081 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.8753, allocations: 18.75 kB / 1.081 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.8754, allocations: 335.1 kB / 1.081 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.8771, allocations: 0.5415 MB / 1.082 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.879, allocations: 0.7768 MB / 1.082 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/0.8823, allocations: 1.186 MB / 1.084 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.8823, allocations: 1.344 kB / 1.084 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00431/0.8866, allocations: 1.448 MB / 1.085 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.8868, allocations: 211 kB / 1.085 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.8868, allocations: 3.188 kB / 1.085 GB, free: 81.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-05/0.8869, allocations: 10.56 kB / 1.085 GB, free: 81.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.8883, allocations: 267.8 kB / 1.085 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.893e-05/0.8883, allocations: 10.62 kB / 1.085 GB, free: 81.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.8906, allocations: 237.7 kB / 1.086 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.8908, allocations: 40.95 kB / 1.086 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8908, allocations: 4.188 kB / 1.086 GB, free: 81.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003925/0.8948, allocations: 1.303 MB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.8948, allocations: 4.312 kB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8948, allocations: 6.188 kB / 1.087 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.8962, allocations: 267.8 kB / 1.087 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.8962, allocations: 10.11 kB / 1.087 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.8982, allocations: 240.1 kB / 1.087 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.8983, allocations: 38.67 kB / 1.088 GB, free: 81.11 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.0009149/0.8992, allocations: 409.8 kB / 1.088 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.8995, allocations: 144.5 kB / 1.088 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004122/0.9036, allocations: 1.506 MB / 1.09 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003456/0.9071, allocations: 1.282 MB / 1.091 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9071, allocations: 9.375 kB / 1.091 GB, free: 79.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.9082, allocations: 356.3 kB / 1.091 GB, free: 79.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.9084, allocations: 16.94 kB / 1.091 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.9097, allocations: 173.8 kB / 1.091 GB, free: 79.49 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.9099, allocations: 56.34 kB / 1.091 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004422/0.9143, allocations: 1.49 MB / 1.093 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005713/0.9201, allocations: 2.279 MB / 1.095 GB, free: 78.16 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001721/0.9218, allocations: 0.6288 MB / 1.096 GB, free: 77.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001539/0.9234, allocations: 0.8613 MB / 1.096 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of Backend: time 6.82e-07/0.9234, allocations: 1 kB / 1.096 GB, free: 77.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006604/0.93, allocations: 2.049 MB / 1.098 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of SimCode: time 0.007263/0.9373, allocations: 3.665 MB / 1.102 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of Templates: time 0.05936/0.9967, allocations: 34.08 MB / 1.135 GB, free: 50.86 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)