Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_HeatRecovery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.00133/0.00133, allocations: 190.1 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 58.83 kB / 0.9113 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4136, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.05957/0.4732, allocations: 60.25 MB / 1.126 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.4961, allocations: 13.28 MB / 1.139 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.4992, allocations: 67.56 kB / 1.139 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.5022, allocations: 0.8121 MB / 1.14 GB, free: 316 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006904/0.5092, allocations: 2.146 MB / 1.142 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.5133, allocations: 1.424 MB / 1.144 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006864/0.5202, allocations: 5.57 MB / 1.149 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.5223, allocations: 1.142 MB / 1.15 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003105/0.5254, allocations: 1.365 MB / 1.152 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.5277, allocations: 1.213 MB / 1.153 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004047/0.5281, allocations: 72 kB / 1.153 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003577/0.5317, allocations: 1.376 MB / 1.154 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.5323, allocations: 362.4 kB / 1.154 GB, free: 1.594 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.5339, allocations: 0.847 MB / 1.155 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005534/0.5395, allocations: 2.711 MB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5395, allocations: 0 / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5395, allocations: 0 / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.922e-05/0.5396, allocations: 7.938 kB / 1.158 GB, free: 14.02 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 236 * Number of variables: 236 Notification: Performance of Generate backend data structure: time 0.00571/0.5453, allocations: 2.197 MB / 1.16 GB, free: 11.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.5454, allocations: 12.03 kB / 1.16 GB, free: 11.74 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.5495, allocations: 0.5527 MB / 1.161 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.5525, allocations: 1.41 MB / 1.162 GB, free: 9.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.5527, allocations: 145.4 kB / 1.162 GB, free: 9.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.553, allocations: 104 kB / 1.162 GB, free: 9.465 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004523/0.5575, allocations: 1.334 MB / 1.164 GB, free: 8.098 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/0.5576, allocations: 0 / 1.164 GB, free: 8.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.5578, allocations: 36 kB / 1.164 GB, free: 8.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.076e-05/0.5579, allocations: 31.98 kB / 1.164 GB, free: 8.031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.5627, allocations: 1.347 MB / 1.165 GB, free: 6.684 MB / 0.92 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.01099/0.5737, allocations: 5.453 MB / 1.17 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005763/0.5795, allocations: 1.427 MB / 1.172 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.5812, allocations: 0.5964 MB / 1.172 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.5822, allocations: 1.239 MB / 1.173 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/0.5842, allocations: 0.66 MB / 1.174 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=71): time 3.286e-06/0.5842, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71): time 0.02275/0.607, allocations: 3.71 MB / 1.178 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.6071, allocations: 60.06 kB / 1.178 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.6094, allocations: 1.275 MB / 1.179 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.6096, allocations: 45.7 kB / 1.179 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006992/0.6103, allocations: 0.6619 MB / 1.18 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/0.6108, allocations: 248.5 kB / 1.18 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.6113, allocations: 182.4 kB / 1.18 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.6114, allocations: 337.9 kB / 1.18 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.6132, allocations: 0.5278 MB / 1.181 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/0.6153, allocations: 0.7599 MB / 1.182 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/0.6187, allocations: 1.14 MB / 1.183 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.6188, allocations: 7.938 kB / 1.183 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01064/0.6294, allocations: 2.133 MB / 1.185 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.6295, allocations: 33.7 kB / 1.185 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6296, allocations: 0 / 1.185 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.6313, allocations: 0.489 MB / 1.185 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/0.6323, allocations: 187.7 kB / 1.186 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.6485, allocations: 3.793 MB / 1.189 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.6507, allocations: 219.3 kB / 1.19 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/0.651, allocations: 47.97 kB / 1.19 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002351/0.6534, allocations: 0.7945 MB / 1.19 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001857/0.6553, allocations: 0.74 MB / 1.191 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003146/0.6584, allocations: 1.132 MB / 1.192 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.411e-06/0.6584, allocations: 4 kB / 1.192 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.01019/0.6686, allocations: 2.118 MB / 1.194 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.6687, allocations: 37.64 kB / 1.194 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6687, allocations: 7.938 kB / 1.194 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.6704, allocations: 496.8 kB / 1.195 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.6713, allocations: 191.7 kB / 1.195 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/0.6879, allocations: 3.798 MB / 1.199 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.6902, allocations: 219.3 kB / 1.199 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.6905, allocations: 39.97 kB / 1.199 GB, free: 2.559 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (fal.y,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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004949/0.691, allocations: 235 kB / 1.199 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000566/0.6916, allocations: 146.2 kB / 1.199 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/0.7019, allocations: 2.196 MB / 1.201 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-05/0.702, allocations: 11.94 kB / 1.201 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.702, allocations: 4 kB / 1.201 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009604/0.7116, allocations: 1.945 MB / 1.203 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.7255, allocations: 3.913 MB / 1.207 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/0.7255, allocations: 8 kB / 1.207 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.7263, allocations: 152.2 kB / 1.207 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001597/0.7279, allocations: 496.5 kB / 1.208 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.728, allocations: 23.98 kB / 1.208 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.7436, allocations: 3.791 MB / 1.211 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.7436, allocations: 7.938 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.7553, allocations: 2.952 MB / 1.214 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.7564, allocations: 346.9 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004535/0.7569, allocations: 16 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.7588, allocations: 163.7 kB / 1.215 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.759, allocations: 84.28 kB / 1.215 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.7592, allocations: 39.97 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001766/0.7609, allocations: 0.909 MB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.761, allocations: 0 / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003349/0.7643, allocations: 0.854 MB / 1.217 GB, free: 15.83 MB / 0.9825 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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001281/0.7656, allocations: 0.5082 MB / 1.217 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008082/0.7737, allocations: 2.516 MB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.7738, allocations: 0 / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003573/0.7773, allocations: 0.936 MB / 1.221 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/0.7821, allocations: 0.7627 MB / 1.221 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/0.7899, allocations: 3.406 MB / 1.225 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001139/0.791, allocations: 1.238 MB / 1.226 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001774/0.7928, allocations: 343.5 kB / 1.226 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.7932, allocations: 115.4 kB / 1.226 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.7933, allocations: 4 kB / 1.226 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.6387/1.432, allocations: 40 MB / 1.265 GB, free: 171.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1)