Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00713/0.00713, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 222.5 MB, free: 5.789 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.566/1.566, allocations: 252 MB / 0.5105 GB, free: 4.68 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.0005873/0.0005873, allocations: 12 kB / 0.6249 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5829, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06067/0.6436, allocations: 58.99 MB / 0.7863 GB, free: 84 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01962/0.6632, allocations: 12.93 MB / 0.7989 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.6661, allocations: 55.62 kB / 0.799 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.6689, allocations: 0.8099 MB / 0.7998 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006556/0.6755, allocations: 2.133 MB / 0.8019 GB, free: 128 kB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.004221/0.6797, allocations: 1.363 MB / 0.8032 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.006939/0.6867, allocations: 5.511 MB / 0.8086 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.6888, allocations: 1.091 MB / 0.8097 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.6922, allocations: 1.338 MB / 0.811 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.6945, allocations: 1.147 MB / 0.8121 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/0.6949, allocations: 60 kB / 0.8121 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.6985, allocations: 1.329 MB / 0.8134 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006064/0.6991, allocations: 338.4 kB / 0.8138 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.7009, allocations: 0.8331 MB / 0.8146 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00496/0.7059, allocations: 2.605 MB / 0.8171 GB, free: 460 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.7059, allocations: 4 kB / 0.8171 GB, free: 456 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7059, allocations: 0 / 0.8171 GB, free: 456 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.141e-05/0.706, allocations: 0 / 0.8171 GB, free: 456 kB / 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.004234/0.7102, allocations: 1.867 MB / 0.8189 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.7103, allocations: 12.03 kB / 0.819 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003684/0.714, allocations: 0.6348 MB / 0.8196 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.7165, allocations: 1.368 MB / 0.8209 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.7167, allocations: 149.4 kB / 0.8211 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.7169, allocations: 100 kB / 0.8211 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002938/0.7198, allocations: 1.33 MB / 0.8224 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.7199, allocations: 0 / 0.8224 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.72, allocations: 40 kB / 0.8225 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.72, allocations: 31.97 kB / 0.8225 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.7236, allocations: 1.374 MB / 0.8239 GB, free: 9.375 MB / 0.6387 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.008189/0.7318, allocations: 5.342 MB / 0.8291 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/0.7372, allocations: 1.484 MB / 0.8305 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.7389, allocations: 0.6271 MB / 0.8311 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008625/0.7397, allocations: 1.232 MB / 0.8323 GB, free: 16 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.7415, allocations: 0.69 MB / 0.833 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 3.267e-06/0.7415, allocations: 0 / 0.833 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.004996/0.7465, allocations: 1.774 MB / 0.8347 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.7466, allocations: 59.97 kB / 0.8348 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.7482, allocations: 1.259 MB / 0.836 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/0.7483, allocations: 45.7 kB / 0.8361 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.7489, allocations: 0.654 MB / 0.8367 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.7492, allocations: 240.5 kB / 0.8369 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.7493, allocations: 65.69 kB / 0.837 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.7495, allocations: 341.9 kB / 0.8373 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00158/0.7511, allocations: 0.5446 MB / 0.8379 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.7528, allocations: 0.7782 MB / 0.8386 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003095/0.7559, allocations: 1.198 MB / 0.8398 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7559, allocations: 4 kB / 0.8398 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003733/0.7597, allocations: 1.462 MB / 0.8412 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001331/0.7598, allocations: 211.2 kB / 0.8414 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7598, allocations: 4 kB / 0.8414 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.7599, allocations: 8 kB / 0.8414 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.7611, allocations: 267.7 kB / 0.8417 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.7611, allocations: 15.92 kB / 0.8417 GB, free: 6.168 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.7628, allocations: 239 kB / 0.8419 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.7629, allocations: 39.98 kB / 0.842 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.7629, allocations: 4 kB / 0.842 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003292/0.7662, allocations: 1.309 MB / 0.8433 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7662, allocations: 4 kB / 0.8433 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-06/0.7662, allocations: 4 kB / 0.8433 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.7674, allocations: 268 kB / 0.8435 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7674, allocations: 11.94 kB / 0.8435 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.769, allocations: 239 kB / 0.8438 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.431e-05/0.7691, allocations: 35.98 kB / 0.8438 GB, free: 4.02 MB / 0.6544 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 (chi.on,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006898/0.7698, allocations: 412.9 kB / 0.8442 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/0.77, allocations: 142.2 kB / 0.8443 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.7738, allocations: 1.524 MB / 0.8458 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.7739, allocations: 8 kB / 0.8458 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.7739, allocations: 11.92 kB / 0.8458 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00314/0.777, allocations: 1.285 MB / 0.8471 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006111/0.7831, allocations: 3.233 MB / 0.8502 GB, free: 13.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.7832, allocations: 4 kB / 0.8502 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.7843, allocations: 236 kB / 0.8505 GB, free: 12.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.7843, allocations: 8 kB / 0.8505 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.7844, allocations: 27.97 kB / 0.8505 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/0.7844, allocations: 11.94 kB / 0.8505 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.7844, allocations: 7.938 kB / 0.8505 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005312/0.7897, allocations: 2.302 MB / 0.8528 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006819/0.7904, allocations: 366.8 kB / 0.8531 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.7906, allocations: 20 kB / 0.8531 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.792, allocations: 187.7 kB / 0.8533 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.7922, allocations: 72.36 kB / 0.8534 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.7923, allocations: 39.97 kB / 0.8534 GB, free: 9.836 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001329/0.7936, allocations: 0.9045 MB / 0.8543 GB, free: 8.934 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7936, allocations: 0 / 0.8543 GB, free: 8.934 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00224/0.7959, allocations: 0.7759 MB / 0.8551 GB, free: 8.156 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.797, allocations: 0.5049 MB / 0.8556 GB, free: 7.652 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005334/0.8023, allocations: 2.085 MB / 0.8576 GB, free: 5.543 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.8023, allocations: 0 / 0.8576 GB, free: 5.543 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.8042, allocations: 0.7069 MB / 0.8583 GB, free: 4.836 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/0.809, allocations: 0.7712 MB / 0.859 GB, free: 4.078 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.8139, allocations: 3.254 MB / 0.8622 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.8146, allocations: 1.226 MB / 0.8634 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001701/0.8163, allocations: 359.4 kB / 0.8638 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.8167, allocations: 131.4 kB / 0.8639 GB, free: 15 MB / 0.6856 GB Notification: Performance of SimCode: time 9.72e-07/0.8167, allocations: 4 kB / 0.8639 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of Templates: time 0.05029/0.867, allocations: 30.63 MB / 0.8938 GB, free: 0.75 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) Environment - environmentSimulation: