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.001875/0.001875, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.002021/0.002021, allocations: 220.2 kB / 23.02 MB, free: 2.957 MB / 13.93 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.665/1.665, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.382/3.382, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 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 0.003857/0.003857, allocations: 71.89 kB / 1.177 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9304/0.9343, allocations: 180 MB / 1.353 GB, free: 1.566 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR_HeatRecovery): time 0.07397/1.008, allocations: 55.92 MB / 1.408 GB, free: 9.449 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.02569/1.034, allocations: 12.23 MB / 1.419 GB, free: 13.19 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/1.037, allocations: 99.19 kB / 1.42 GB, free: 13.09 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.004588/1.042, allocations: 0.9353 MB / 1.42 GB, free: 12.15 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.009651/1.051, allocations: 2.474 MB / 1.423 GB, free: 9.664 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/1.057, allocations: 1.601 MB / 1.424 GB, free: 8.074 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.00944/1.067, allocations: 4.371 MB / 1.429 GB, free: 3.691 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/1.069, allocations: 1.044 MB / 1.43 GB, free: 2.613 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006838/1.076, allocations: 1.856 MB / 1.432 GB, free: 0.7578 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/1.08, allocations: 1.182 MB / 1.433 GB, free: 15.57 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.0004495/1.08, allocations: 148 kB / 1.433 GB, free: 15.43 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/1.085, allocations: 1.22 MB / 1.434 GB, free: 14.2 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.0008097/1.086, allocations: 446.1 kB / 1.434 GB, free: 13.77 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/1.087, allocations: 0.7426 MB / 1.435 GB, free: 13.02 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.007056/1.094, allocations: 2.849 MB / 1.438 GB, free: 10.16 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.094, allocations: 0 / 1.438 GB, free: 10.16 MB / 1.12 GB Notification: Performance of FrontEnd: time 2.274e-06/1.094, allocations: 0 / 1.438 GB, free: 10.16 MB / 1.12 GB Notification: Performance of Transformations before backend: time 4.394e-05/1.095, allocations: 4 kB / 1.438 GB, free: 10.16 MB / 1.12 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.006364/1.101, allocations: 2.178 MB / 1.44 GB, free: 7.93 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/1.101, allocations: 8.922 kB / 1.44 GB, free: 7.922 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006926/1.108, allocations: 0.6317 MB / 1.441 GB, free: 7.289 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/1.113, allocations: 1.398 MB / 1.442 GB, free: 5.844 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/1.113, allocations: 204.7 kB / 1.442 GB, free: 5.621 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002665/1.114, allocations: 107.9 kB / 1.442 GB, free: 5.516 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005263/1.119, allocations: 1.536 MB / 1.444 GB, free: 3.906 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/1.119, allocations: 3.938 kB / 1.444 GB, free: 3.902 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/1.119, allocations: 48 kB / 1.444 GB, free: 3.855 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.266e-05/1.119, allocations: 28 kB / 1.444 GB, free: 3.828 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/1.127, allocations: 1.429 MB / 1.445 GB, free: 2.398 MB / 1.12 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.01542/1.142, allocations: 4.033 MB / 1.449 GB, free: 14.29 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006388/1.149, allocations: 1.269 MB / 1.451 GB, free: 13.01 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/1.151, allocations: 0.6155 MB / 1.451 GB, free: 12.39 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/1.151, allocations: 116.6 kB / 1.451 GB, free: 12.28 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002457/1.154, allocations: 0.8654 MB / 1.452 GB, free: 11.36 MB / 1.135 GB Notification: Performance of pre-optimization done (n=71): time 4.398e-06/1.154, allocations: 3.938 kB / 1.452 GB, free: 11.36 MB / 1.135 GB Notification: Performance of matching and sorting (n=71): time 0.02279/1.176, allocations: 3.792 MB / 1.456 GB, free: 7.555 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/1.177, allocations: 68 kB / 1.456 GB, free: 7.473 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/1.179, allocations: 1.229 MB / 1.457 GB, free: 6.23 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0002494/1.179, allocations: 41.7 kB / 1.457 GB, free: 6.184 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008662/1.18, allocations: 0.6859 MB / 1.458 GB, free: 5.492 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004368/1.181, allocations: 249.8 kB / 1.458 GB, free: 5.246 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000429/1.181, allocations: 182.5 kB / 1.458 GB, free: 5.062 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.181, allocations: 341.9 kB / 1.459 GB, free: 4.723 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.183, allocations: 0.6037 MB / 1.459 GB, free: 4.109 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002583/1.186, allocations: 1.313 MB / 1.46 GB, free: 2.594 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/1.19, allocations: 1.242 MB / 1.462 GB, free: 1.305 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.19, allocations: 0 / 1.462 GB, free: 1.305 MB / 1.135 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01058/1.201, allocations: 2.257 MB / 1.464 GB, free: 15.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/1.201, allocations: 34.02 kB / 1.464 GB, free: 14.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/1.201, allocations: 8 kB / 1.464 GB, free: 14.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/1.202, allocations: 492.4 kB / 1.464 GB, free: 14.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.203, allocations: 215.7 kB / 1.465 GB, free: 14.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01675/1.22, allocations: 3.935 MB / 1.468 GB, free: 10.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/1.222, allocations: 191.5 kB / 1.469 GB, free: 10.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/1.222, allocations: 35.98 kB / 1.469 GB, free: 10.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002887/1.225, allocations: 0.8704 MB / 1.469 GB, free: 9.137 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00282/1.228, allocations: 1.309 MB / 1.471 GB, free: 7.625 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004015/1.232, allocations: 1.23 MB / 1.472 GB, free: 6.344 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.941e-06/1.232, allocations: 0 / 1.472 GB, free: 6.344 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.01062/1.243, allocations: 2.245 MB / 1.474 GB, free: 4.078 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/1.243, allocations: 37.64 kB / 1.474 GB, free: 4.035 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.243, allocations: 4 kB / 1.474 GB, free: 4.031 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/1.245, allocations: 492.6 kB / 1.475 GB, free: 3.547 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.246, allocations: 207.7 kB / 1.475 GB, free: 3.344 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/1.262, allocations: 3.946 MB / 1.479 GB, free: 15.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/1.264, allocations: 183.5 kB / 1.479 GB, free: 15.12 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/1.264, allocations: 47.92 kB / 1.479 GB, free: 15.07 MB / 1.167 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.0005/1.265, allocations: 239.9 kB / 1.479 GB, free: 14.83 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/1.266, allocations: 147.1 kB / 1.479 GB, free: 14.69 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.277, allocations: 2.297 MB / 1.482 GB, free: 12.36 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.187e-05/1.277, allocations: 12 kB / 1.482 GB, free: 12.35 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.277, allocations: 0 / 1.482 GB, free: 12.35 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01034/1.287, allocations: 2.046 MB / 1.484 GB, free: 10.27 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.302, allocations: 3.562 MB / 1.487 GB, free: 6.602 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.302, allocations: 4 kB / 1.487 GB, free: 6.598 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009346/1.302, allocations: 176.1 kB / 1.487 GB, free: 6.426 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/1.304, allocations: 492.4 kB / 1.488 GB, free: 5.941 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/1.304, allocations: 31.97 kB / 1.488 GB, free: 5.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/1.321, allocations: 3.935 MB / 1.492 GB, free: 1.875 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.306e-05/1.321, allocations: 8 kB / 1.492 GB, free: 1.867 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.334, allocations: 3.107 MB / 1.495 GB, free: 14.68 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/1.335, allocations: 270.7 kB / 1.495 GB, free: 14.41 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/1.336, allocations: 20 kB / 1.495 GB, free: 14.39 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.337, allocations: 135.9 kB / 1.495 GB, free: 14.26 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/1.338, allocations: 84.25 kB / 1.495 GB, free: 14.18 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.338, allocations: 39.97 kB / 1.495 GB, free: 14.14 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001835/1.34, allocations: 0.8436 MB / 1.496 GB, free: 13.29 MB / 1.182 GB Notification: Performance of sort global known variables: time 6e-08/1.34, allocations: 0 / 1.496 GB, free: 13.29 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003552/1.343, allocations: 0.9004 MB / 1.497 GB, free: 12.39 MB / 1.182 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.001636/1.345, allocations: 0.5139 MB / 1.497 GB, free: 11.88 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00951/1.354, allocations: 2.672 MB / 1.5 GB, free: 9.145 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/1.354, allocations: 4.188 kB / 1.5 GB, free: 9.141 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.358, allocations: 0.9628 MB / 1.501 GB, free: 8.168 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.361, allocations: 0.6199 MB / 1.501 GB, free: 7.559 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/1.37, allocations: 2.966 MB / 1.504 GB, free: 4.5 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.371, allocations: 0.6629 MB / 1.505 GB, free: 3.797 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001671/1.373, allocations: 322.4 kB / 1.505 GB, free: 3.477 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/1.373, allocations: 119.4 kB / 1.505 GB, free: 3.359 MB / 1.182 GB Notification: Performance of SimCode: time 9.32e-07/1.373, allocations: 0 / 1.505 GB, free: 3.359 MB / 1.182 GB Notification: Performance of Templates: time 0.09259/1.466, allocations: 43 MB / 1.547 GB, free: 8.91 MB / 1.229 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.383451467379928]