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.001376/0.001376, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001858/0.001858, allocations: 177.3 kB / 15.94 MB, free: 228 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.894/1.894, allocations: 205.4 MB / 222.1 MB, free: 5.449 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.564/1.564, allocations: 251.9 MB / 0.51 GB, free: 4.906 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.0006724/0.0006727, allocations: 16 kB / 0.6241 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6733, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.05529/0.7286, allocations: 50.61 MB / 0.7774 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02044/0.7492, allocations: 11.21 MB / 0.7883 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004419/0.7537, allocations: 51.62 kB / 0.7884 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004126/0.7578, allocations: 0.9213 MB / 0.7893 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.7681, allocations: 2.226 MB / 0.7915 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005529/0.7737, allocations: 1.604 MB / 0.793 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007072/0.7807, allocations: 2.538 MB / 0.7955 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.7828, allocations: 0.991 MB / 0.7965 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003116/0.786, allocations: 1.175 MB / 0.7976 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.7876, allocations: 0.7854 MB / 0.7984 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.7877, allocations: 56 kB / 0.7984 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.791, allocations: 0.905 MB / 0.7993 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.7914, allocations: 290.8 kB / 0.7996 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.7921, allocations: 352.8 kB / 0.7999 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.7954, allocations: 1.843 MB / 0.8017 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.7954, allocations: 0 / 0.8017 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7954, allocations: 0 / 0.8017 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.7954, allocations: 4 kB / 0.8017 GB, free: 15.73 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.003638/0.7991, allocations: 1.869 MB / 0.8036 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.7991, allocations: 12.03 kB / 0.8036 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003532/0.8027, allocations: 0.6263 MB / 0.8042 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.8052, allocations: 1.229 MB / 0.8054 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.8054, allocations: 153.4 kB / 0.8055 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.8056, allocations: 92 kB / 0.8056 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.8087, allocations: 1.319 MB / 0.8069 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.8087, allocations: 3.938 kB / 0.8069 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.8088, allocations: 36 kB / 0.8069 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/0.8089, allocations: 24 kB / 0.807 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003662/0.8126, allocations: 1.374 MB / 0.8083 GB, free: 8.832 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.008033/0.8206, allocations: 5.35 MB / 0.8135 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005602/0.8262, allocations: 1.519 MB / 0.815 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.8274, allocations: 1.232 MB / 0.8162 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.8292, allocations: 0.6784 MB / 0.8169 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 4.028e-06/0.8292, allocations: 0 / 0.8169 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.005094/0.8343, allocations: 1.77 MB / 0.8186 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.8344, allocations: 59.97 kB / 0.8187 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/0.8363, allocations: 1.263 MB / 0.8199 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.8365, allocations: 41.7 kB / 0.8199 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006881/0.8372, allocations: 0.6541 MB / 0.8206 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.8375, allocations: 236.5 kB / 0.8208 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.8375, allocations: 16 kB / 0.8208 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8377, allocations: 341.9 kB / 0.8211 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.8393, allocations: 0.5446 MB / 0.8217 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.841, allocations: 0.7664 MB / 0.8224 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.8426, allocations: 0.598 MB / 0.823 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8426, allocations: 0 / 0.823 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003829/0.8464, allocations: 1.446 MB / 0.8244 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006724/0.8471, allocations: 1.199 MB / 0.8256 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.8471, allocations: 7.938 kB / 0.8256 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.8472, allocations: 7.984 kB / 0.8256 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.8485, allocations: 279.6 kB / 0.8259 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.927e-05/0.8485, allocations: 15.92 kB / 0.8259 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.8504, allocations: 238.9 kB / 0.8261 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.8505, allocations: 39.98 kB / 0.8262 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.8505, allocations: 9.812 kB / 0.8262 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003486/0.854, allocations: 1.305 MB / 0.8274 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.854, allocations: 0 / 0.8274 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.854, allocations: 8 kB / 0.8274 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.8553, allocations: 283.9 kB / 0.8277 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.8554, allocations: 4 kB / 0.8277 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.8572, allocations: 231.2 kB / 0.8279 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.8573, allocations: 43.97 kB / 0.828 GB, free: 3.773 MB / 0.6387 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.0009275/0.8582, allocations: 404.8 kB / 0.8284 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003746/0.8586, allocations: 146.2 kB / 0.8285 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/0.8628, allocations: 1.524 MB / 0.83 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.8628, allocations: 8 kB / 0.83 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.8628, allocations: 0 / 0.83 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003395/0.8662, allocations: 1.285 MB / 0.8313 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008778/0.875, allocations: 3.241 MB / 0.8344 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.8751, allocations: 4 kB / 0.8344 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.8762, allocations: 228.2 kB / 0.8346 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/0.8763, allocations: 8 kB / 0.8347 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/0.8764, allocations: 27.98 kB / 0.8347 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-05/0.8764, allocations: 11.98 kB / 0.8347 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.8764, allocations: 7.938 kB / 0.8347 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/0.8825, allocations: 2.579 MB / 0.8372 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.8836, allocations: 370.8 kB / 0.8376 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.8841, allocations: 20 kB / 0.8376 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.8859, allocations: 179.8 kB / 0.8378 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.8861, allocations: 68.38 kB / 0.8378 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.8862, allocations: 39.97 kB / 0.8379 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001774/0.888, allocations: 0.9007 MB / 0.8387 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.943e-06/0.888, allocations: 0 / 0.8387 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003302/0.8913, allocations: 0.7875 MB / 0.8395 GB, free: 7.469 MB / 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.00149/0.8928, allocations: 0.5108 MB / 0.84 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006062/0.8989, allocations: 2.07 MB / 0.842 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.8989, allocations: 4 kB / 0.842 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.9009, allocations: 0.7108 MB / 0.8427 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/0.9053, allocations: 0.7259 MB / 0.8434 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.9122, allocations: 3.147 MB / 0.8465 GB, free: 204 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/0.9143, allocations: 1.261 MB / 0.8477 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003076/0.9174, allocations: 354.8 kB / 0.8481 GB, free: 14.56 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/0.9182, allocations: 119.4 kB / 0.8482 GB, free: 14.44 MB / 0.67 GB Notification: Performance of SimCode: time 1.563e-06/0.9183, allocations: 0 / 0.8482 GB, free: 14.44 MB / 0.67 GB Notification: Performance of Templates: time 0.05853/0.9768, allocations: 29.09 MB / 0.8766 GB, free: 1.754 MB / 0.6856 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: