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.001059/0.001059, allocations: 97.56 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.01039/0.01039, allocations: 168.6 kB / 16.26 MB, free: 6.648 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.535/1.535, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 8.875 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4126, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.06469/0.4774, allocations: 59.14 MB / 1.132 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02342/0.5009, allocations: 13.13 MB / 1.145 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.505, allocations: 63.56 kB / 1.145 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003536/0.5086, allocations: 0.8121 MB / 1.146 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008586/0.5172, allocations: 2.146 MB / 1.148 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.5229, allocations: 1.426 MB / 1.149 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008711/0.5316, allocations: 5.57 MB / 1.154 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.5341, allocations: 1.115 MB / 1.156 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.5378, allocations: 1.318 MB / 1.157 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.5404, allocations: 1.17 MB / 1.158 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003365/0.5407, allocations: 63.98 kB / 1.158 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.5449, allocations: 1.364 MB / 1.159 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004967/0.5455, allocations: 338.4 kB / 1.16 GB, free: 15.6 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.547, allocations: 0.8409 MB / 1.161 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.5517, allocations: 2.671 MB / 1.163 GB, free: 12.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5517, allocations: 0 / 1.163 GB, free: 12.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5517, allocations: 0 / 1.163 GB, free: 12.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.787e-05/0.5518, allocations: 0 / 1.163 GB, free: 12.07 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.004207/0.556, allocations: 1.89 MB / 1.165 GB, free: 10.11 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.5561, allocations: 12.03 kB / 1.165 GB, free: 10.1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0038/0.5599, allocations: 0.58 MB / 1.166 GB, free: 9.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.5629, allocations: 1.41 MB / 1.167 GB, free: 8.055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.5631, allocations: 149.3 kB / 1.167 GB, free: 7.898 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.5633, allocations: 111.9 kB / 1.167 GB, free: 7.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.5668, allocations: 1.362 MB / 1.169 GB, free: 6.391 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.5669, allocations: 8 kB / 1.169 GB, free: 6.383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.567, allocations: 36 kB / 1.169 GB, free: 6.348 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.567, allocations: 24 kB / 1.169 GB, free: 6.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.571, allocations: 1.409 MB / 1.17 GB, free: 4.918 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.008793/0.5798, allocations: 5.477 MB / 1.175 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005705/0.5855, allocations: 1.493 MB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.5874, allocations: 0.6198 MB / 1.177 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.5885, allocations: 1.236 MB / 1.179 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001894/0.5904, allocations: 0.6912 MB / 1.179 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=71): time 3.296e-06/0.5904, allocations: 0 / 1.179 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=71): time 0.02147/0.6119, allocations: 3.8 MB / 1.183 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.612, allocations: 56.06 kB / 1.183 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.6141, allocations: 1.275 MB / 1.184 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.6143, allocations: 41.7 kB / 1.184 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006556/0.615, allocations: 0.662 MB / 1.185 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.6153, allocations: 244.4 kB / 1.185 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.6154, allocations: 81.61 kB / 1.185 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6156, allocations: 337.9 kB / 1.186 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.6172, allocations: 0.5485 MB / 1.186 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.619, allocations: 0.7831 MB / 1.187 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/0.6222, allocations: 1.199 MB / 1.188 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6222, allocations: 0 / 1.188 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01242/0.6346, allocations: 2.18 MB / 1.19 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.6349, allocations: 212.2 kB / 1.19 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.635, allocations: 4 kB / 1.19 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/0.6372, allocations: 496.4 kB / 1.191 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.6385, allocations: 203.7 kB / 1.191 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/0.6594, allocations: 3.819 MB / 1.195 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.6623, allocations: 231.2 kB / 1.195 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/0.6626, allocations: 43.97 kB / 1.195 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6627, allocations: 5.25 kB / 1.195 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01269/0.6754, allocations: 2.016 MB / 1.197 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.6754, allocations: 7.984 kB / 1.197 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.6771, allocations: 492.7 kB / 1.198 GB, free: 7.594 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009951/0.6781, allocations: 207.7 kB / 1.198 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/0.6945, allocations: 3.802 MB / 1.201 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/0.6966, allocations: 235.3 kB / 1.202 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.6968, allocations: 43.98 kB / 1.202 GB, free: 3.18 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.0008822/0.6976, allocations: 416.8 kB / 1.202 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002482/0.6979, allocations: 142.2 kB / 1.202 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.708, allocations: 2.239 MB / 1.204 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.708, allocations: 11.94 kB / 1.204 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.708, allocations: 0 / 1.204 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009749/0.7178, allocations: 1.988 MB / 1.206 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0141/0.7319, allocations: 3.987 MB / 1.21 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/0.732, allocations: 7.938 kB / 1.21 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008375/0.7328, allocations: 167.9 kB / 1.21 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.7345, allocations: 496.4 kB / 1.211 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.7347, allocations: 23.98 kB / 1.211 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/0.7511, allocations: 3.799 MB / 1.215 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.7511, allocations: 4 kB / 1.215 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/0.7635, allocations: 3.018 MB / 1.218 GB, free: 2.449 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.7646, allocations: 374.7 kB / 1.218 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004117/0.7651, allocations: 20 kB / 1.218 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/0.7668, allocations: 175.9 kB / 1.218 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.767, allocations: 72.36 kB / 1.218 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.7671, allocations: 47.89 kB / 1.218 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001554/0.7687, allocations: 0.909 MB / 1.219 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.194e-06/0.7687, allocations: 0 / 1.219 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002949/0.7717, allocations: 0.8616 MB / 1.22 GB, free: 15.98 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.001301/0.773, allocations: 0.5013 MB / 1.22 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008176/0.7812, allocations: 2.602 MB / 1.223 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.7812, allocations: 4 kB / 1.223 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/0.7844, allocations: 0.9673 MB / 1.224 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/0.7897, allocations: 0.765 MB / 1.225 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007344/0.7971, allocations: 3.471 MB / 1.228 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.7982, allocations: 1.242 MB / 1.229 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00166/0.7998, allocations: 347.5 kB / 1.23 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003761/0.8002, allocations: 119.4 kB / 1.23 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of SimCode: time 1.183e-06/0.8002, allocations: 0 / 1.23 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of Templates: time 0.7435/1.544, allocations: 40.67 MB / 1.269 GB, free: 169.5 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)