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.000899/0.000899, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001001/0.001001, allocations: 172.7 kB / 15.95 MB, free: 208 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.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.602/1.602, allocations: 252 MB / 0.5102 GB, free: 4.828 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.0005854/0.0005855, allocations: 24 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6369/0.6375, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05809/0.6956, allocations: 55.77 MB / 0.7826 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.714, allocations: 12.18 MB / 0.7945 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.7168, allocations: 55.62 kB / 0.7945 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002559/0.7194, allocations: 0.7104 MB / 0.7952 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.7258, allocations: 1.817 MB / 0.797 GB, free: 4.711 MB / 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.003841/0.7296, allocations: 1.132 MB / 0.7981 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006964/0.7366, allocations: 4.742 MB / 0.8027 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.7384, allocations: 0.9713 MB / 0.8037 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.7414, allocations: 1.299 MB / 0.805 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.743, allocations: 1.085 MB / 0.806 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.7431, allocations: 56 kB / 0.8061 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002803/0.7459, allocations: 1.002 MB / 0.807 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.7463, allocations: 306.7 kB / 0.8073 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000631/0.7469, allocations: 360.8 kB / 0.8077 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.7499, allocations: 1.921 MB / 0.8096 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7499, allocations: 0 / 0.8096 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7499, allocations: 0 / 0.8096 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.681e-05/0.75, allocations: 0 / 0.8096 GB, free: 7.801 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.004491/0.7545, allocations: 1.89 MB / 0.8114 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.7546, allocations: 8.031 kB / 0.8114 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.758, allocations: 0.6263 MB / 0.812 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.7612, allocations: 1.323 MB / 0.8133 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.7614, allocations: 141.4 kB / 0.8134 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002929/0.7617, allocations: 96 kB / 0.8135 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003304/0.765, allocations: 1.338 MB / 0.8148 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.7651, allocations: 0 / 0.8148 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.7652, allocations: 40 kB / 0.8149 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.7652, allocations: 24 kB / 0.8149 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.769, allocations: 1.366 MB / 0.8162 GB, free: 0.7852 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.008341/0.7773, allocations: 5.358 MB / 0.8215 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005127/0.7825, allocations: 1.481 MB / 0.8229 GB, free: 9.551 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.7841, allocations: 0.614 MB / 0.8235 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.7852, allocations: 1.244 MB / 0.8247 GB, free: 7.414 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.7869, allocations: 0.6745 MB / 0.8254 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.795e-06/0.7869, allocations: 4 kB / 0.8254 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.005194/0.7921, allocations: 1.766 MB / 0.8271 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.7922, allocations: 63.97 kB / 0.8272 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.7945, allocations: 1.247 MB / 0.8284 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.7946, allocations: 49.7 kB / 0.8284 GB, free: 3.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006943/0.7953, allocations: 0.6463 MB / 0.8291 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.7956, allocations: 236.6 kB / 0.8293 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.7957, allocations: 16 kB / 0.8293 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7959, allocations: 333.9 kB / 0.8296 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.7975, allocations: 0.5446 MB / 0.8302 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/0.7992, allocations: 0.7664 MB / 0.8309 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.8007, allocations: 0.6019 MB / 0.8315 GB, free: 344 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8008, allocations: 4 kB / 0.8315 GB, free: 340 kB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003804/0.8046, allocations: 1.45 MB / 0.8329 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.8048, allocations: 203.3 kB / 0.8331 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8048, allocations: 4 kB / 0.8331 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.8048, allocations: 11.95 kB / 0.8331 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.8061, allocations: 275.6 kB / 0.8334 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.8061, allocations: 8 kB / 0.8334 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.8078, allocations: 235.1 kB / 0.8336 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.8079, allocations: 43.91 kB / 0.8337 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.8079, allocations: 7.938 kB / 0.8337 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00325/0.8112, allocations: 1.302 MB / 0.835 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8112, allocations: 8 kB / 0.835 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8112, allocations: 8 kB / 0.835 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.8124, allocations: 271.8 kB / 0.8352 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.8124, allocations: 7.938 kB / 0.8352 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.8141, allocations: 227.2 kB / 0.8354 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.8142, allocations: 39.98 kB / 0.8355 GB, free: 12.19 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 ($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.0007809/0.815, allocations: 409.4 kB / 0.8359 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.8154, allocations: 142.2 kB / 0.836 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/0.8192, allocations: 1.52 MB / 0.8375 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.8193, allocations: 8 kB / 0.8375 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8193, allocations: 0 / 0.8375 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003028/0.8223, allocations: 1.285 MB / 0.8388 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006889/0.8292, allocations: 3.23 MB / 0.8419 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.8293, allocations: 4 kB / 0.8419 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.8304, allocations: 239.7 kB / 0.8421 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.972e-05/0.8304, allocations: 8 kB / 0.8422 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-05/0.8305, allocations: 27.98 kB / 0.8422 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.8305, allocations: 7.938 kB / 0.8422 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.8305, allocations: 8 kB / 0.8422 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005088/0.8356, allocations: 2.306 MB / 0.8444 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008882/0.8365, allocations: 362.8 kB / 0.8448 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003656/0.8369, allocations: 19.98 kB / 0.8448 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.8384, allocations: 179.7 kB / 0.845 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.8386, allocations: 76.36 kB / 0.8451 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/0.8387, allocations: 39.97 kB / 0.8451 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001578/0.8403, allocations: 0.8851 MB / 0.846 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8403, allocations: 7.938 kB / 0.846 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002561/0.8428, allocations: 0.7759 MB / 0.8467 GB, free: 368 kB / 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.001152/0.844, allocations: 493.1 kB / 0.8472 GB, free: 15.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005367/0.8494, allocations: 2.07 MB / 0.8492 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.8494, allocations: 0 / 0.8492 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001889/0.8513, allocations: 0.7069 MB / 0.8499 GB, free: 13.07 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/0.8555, allocations: 0.7547 MB / 0.8506 GB, free: 12.34 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.8615, allocations: 3.158 MB / 0.8537 GB, free: 9.094 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.8626, allocations: 1.234 MB / 0.8549 GB, free: 7.832 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00206/0.8646, allocations: 367.3 kB / 0.8553 GB, free: 7.469 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004773/0.8651, allocations: 123.4 kB / 0.8554 GB, free: 7.348 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.8651, allocations: 0 / 0.8554 GB, free: 7.348 MB / 0.67 GB Notification: Performance of Templates: time 0.05417/0.9193, allocations: 28.88 MB / 0.8836 GB, free: 10.86 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: