Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 80.45 kB / 19.95 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.635/1.635, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.224/3.224, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.378e-05, allocations: 6.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.8388/0.8388, allocations: 55.47 MB / 1.055 GB, free: 44.44 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.8605, allocations: 12.25 MB / 1.067 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00364/0.8641, allocations: 100.2 kB / 1.067 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.8671, allocations: 0.9459 MB / 1.068 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0085/0.8756, allocations: 2.539 MB / 1.071 GB, free: 43.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.005694/0.8813, allocations: 1.668 MB / 1.072 GB, free: 42.46 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.007127/0.8884, allocations: 4.411 MB / 1.077 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00194/0.8903, allocations: 1.042 MB / 1.078 GB, free: 39.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006209/0.8965, allocations: 2.396 MB / 1.08 GB, free: 38.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.8982, allocations: 1.048 MB / 1.081 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.8985, allocations: 146.4 kB / 1.081 GB, free: 38.7 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.9015, allocations: 1.24 MB / 1.082 GB, free: 38.38 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.9019, allocations: 455.5 kB / 1.083 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008331/0.9028, allocations: 0.6201 MB / 1.083 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.907, allocations: 2.881 MB / 1.086 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.907, allocations: 0 / 1.086 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.907, allocations: 0 / 1.086 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.907, allocations: 0 / 1.086 GB, free: 37.01 MB / 0.9948 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.004063/0.9111, allocations: 2.166 MB / 1.088 GB, free: 35.63 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.9111, allocations: 14 kB / 1.088 GB, free: 35.63 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004294/0.9154, allocations: 0.618 MB / 1.089 GB, free: 35.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.9184, allocations: 1.415 MB / 1.09 GB, free: 34.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.9186, allocations: 198.8 kB / 1.091 GB, free: 34.58 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.9188, allocations: 100.9 kB / 1.091 GB, free: 34.55 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/0.9224, allocations: 1.542 MB / 1.092 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/0.9225, allocations: 2.297 kB / 1.092 GB, free: 33.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.9226, allocations: 39.88 kB / 1.092 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.9226, allocations: 30.14 kB / 1.092 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004816/0.9274, allocations: 1.414 MB / 1.094 GB, free: 33.36 MB / 0.9948 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.008708/0.9362, allocations: 4.031 MB / 1.098 GB, free: 31.18 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005864/0.942, allocations: 1.279 MB / 1.099 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.944, allocations: 0.6094 MB / 1.099 GB, free: 30.68 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004799/0.9445, allocations: 121.8 kB / 1.1 GB, free: 30.65 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002295/0.9468, allocations: 0.8639 MB / 1.1 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=71): time 3.447e-06/0.9468, allocations: 0 / 1.1 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=71): time 0.02277/0.9696, allocations: 3.785 MB / 1.104 GB, free: 29.53 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.9696, allocations: 60.47 kB / 1.104 GB, free: 29.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002475/0.9721, allocations: 1.225 MB / 1.105 GB, free: 28.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002539/0.9724, allocations: 48.3 kB / 1.105 GB, free: 28.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006063/0.973, allocations: 0.6832 MB / 1.106 GB, free: 28.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.9732, allocations: 252 kB / 1.106 GB, free: 28.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.9736, allocations: 179.5 kB / 1.106 GB, free: 28.12 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.9737, allocations: 340.5 kB / 1.107 GB, free: 27.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.9757, allocations: 0.6039 MB / 1.107 GB, free: 27.61 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.9781, allocations: 1.312 MB / 1.109 GB, free: 26.59 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.982, allocations: 1.239 MB / 1.11 GB, free: 26.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.982, allocations: 2.531 kB / 1.11 GB, free: 26.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01072/0.9927, allocations: 2.255 MB / 1.112 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.9928, allocations: 34.45 kB / 1.112 GB, free: 25.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.9928, allocations: 11.84 kB / 1.112 GB, free: 25.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.9945, allocations: 497.5 kB / 1.113 GB, free: 25.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.9957, allocations: 211.6 kB / 1.113 GB, free: 25.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/1.013, allocations: 3.938 MB / 1.117 GB, free: 23.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.015, allocations: 190.7 kB / 1.117 GB, free: 23.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/1.015, allocations: 40.95 kB / 1.117 GB, free: 23.37 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002615/1.018, allocations: 0.8718 MB / 1.118 GB, free: 23 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00223/1.02, allocations: 1.299 MB / 1.119 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00371/1.024, allocations: 1.235 MB / 1.12 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/1.024, allocations: 0.7812 kB / 1.12 GB, free: 21.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.01076/1.034, allocations: 2.24 MB / 1.122 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/1.034, allocations: 41.22 kB / 1.122 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.035, allocations: 3.312 kB / 1.122 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/1.036, allocations: 496.9 kB / 1.123 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.037, allocations: 217.4 kB / 1.123 GB, free: 20.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/1.054, allocations: 3.923 MB / 1.127 GB, free: 18.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/1.056, allocations: 191.2 kB / 1.127 GB, free: 18.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/1.057, allocations: 44.44 kB / 1.127 GB, free: 18.79 MB / 0.9948 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.0004059/1.057, allocations: 232.9 kB / 1.127 GB, free: 18.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004904/1.058, allocations: 146.7 kB / 1.128 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.068, allocations: 2.299 MB / 1.13 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-05/1.068, allocations: 11.56 kB / 1.13 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.068, allocations: 1.219 kB / 1.13 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009867/1.078, allocations: 2.044 MB / 1.132 GB, free: 17.32 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.092, allocations: 3.58 MB / 1.135 GB, free: 16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.659e-05/1.092, allocations: 8.812 kB / 1.135 GB, free: 16 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.094, allocations: 176.5 kB / 1.135 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/1.095, allocations: 494.6 kB / 1.136 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/1.095, allocations: 29.47 kB / 1.136 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/1.112, allocations: 3.928 MB / 1.14 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.112, allocations: 9.219 kB / 1.14 GB, free: 14 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/1.125, allocations: 3.102 MB / 1.143 GB, free: 12.95 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.126, allocations: 271.8 kB / 1.143 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/1.126, allocations: 19.48 kB / 1.143 GB, free: 12.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.128, allocations: 141.3 kB / 1.143 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.128, allocations: 79.23 kB / 1.143 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.128, allocations: 43.3 kB / 1.143 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001373/1.13, allocations: 0.8374 MB / 1.144 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/1.13, allocations: 5.281 kB / 1.144 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003446/1.133, allocations: 0.8999 MB / 1.145 GB, free: 12.21 MB / 0.9948 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.001208/1.134, allocations: 0.5184 MB / 1.146 GB, free: 11.99 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008993/1.143, allocations: 2.671 MB / 1.148 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.143, allocations: 1 kB / 1.148 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/1.147, allocations: 0.9699 MB / 1.149 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/1.15, allocations: 0.6167 MB / 1.15 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/1.157, allocations: 2.907 MB / 1.153 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/1.158, allocations: 0.6626 MB / 1.153 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001571/1.159, allocations: 333.1 kB / 1.154 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/1.16, allocations: 118.9 kB / 1.154 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of SimCode: time 1.783e-06/1.16, allocations: 0 / 1.154 GB, free: 8.738 MB / 0.9948 GB Notification: Performance of Templates: time 0.07015/1.23, allocations: 40.54 MB / 1.193 GB, free: 7.254 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.261743702925742]