Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.00111/0.00111, allocations: 81.41 kB / 20.82 MB, free: 3.629 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.001611/0.001611, allocations: 165 kB / 24.25 MB, free: 212 kB / 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 0.9419/0.9419, allocations: 177.1 MB / 204.7 MB, free: 5.008 MB / 186.7 MB " [Timeout remaining time 179] 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 1.897/1.897, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] 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.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7754 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.344e-05, allocations: 5.688 kB / 0.7754 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.01431/0.01434, allocations: 19.28 MB / 0.7942 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.02566, allocations: 8.056 MB / 0.8021 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.02764, allocations: 99.75 kB / 0.8022 GB, free: 9.812 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.02907, allocations: 0.6069 MB / 0.8028 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.0326, allocations: 1.825 MB / 0.8045 GB, free: 7.383 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.03502, allocations: 1.455 MB / 0.806 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.004577/0.0396, allocations: 4.288 MB / 0.8102 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002315/0.04192, allocations: 1.113 MB / 0.8112 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.04516, allocations: 2.051 MB / 0.8132 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.04708, allocations: 1.01 MB / 0.8142 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000517/0.04759, allocations: 140 kB / 0.8144 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.04952, allocations: 0.8664 MB / 0.8152 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.04985, allocations: 458.1 kB / 0.8156 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007479/0.05059, allocations: 0.6156 MB / 0.8162 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.05301, allocations: 1.823 MB / 0.818 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.05302, allocations: 0 / 0.818 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.05302, allocations: 0 / 0.818 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.218e-05/0.05306, allocations: 0 / 0.818 GB, free: 9.551 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002344/0.0554, allocations: 2.063 MB / 0.82 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.05544, allocations: 13.28 kB / 0.8201 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.05702, allocations: 0.5598 MB / 0.8206 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.05842, allocations: 1.012 MB / 0.8216 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.05855, allocations: 200.8 kB / 0.8218 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.05866, allocations: 104 kB / 0.8219 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.05985, allocations: 1.053 MB / 0.8229 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.05987, allocations: 11.64 kB / 0.8229 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/0.05993, allocations: 36 kB / 0.823 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.05996, allocations: 27.98 kB / 0.823 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.06053, allocations: 390.2 kB / 0.8234 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.0638, allocations: 2.611 MB / 0.8259 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.06437, allocations: 433.7 kB / 0.8263 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.06457, allocations: 161.6 kB / 0.8265 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/0.06478, allocations: 88.59 kB / 0.8266 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004267/0.0652, allocations: 473.1 kB / 0.827 GB, free: 84 kB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 2.635e-06/0.06521, allocations: 0 / 0.827 GB, free: 84 kB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.0007708/0.06598, allocations: 477.8 kB / 0.8275 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.06602, allocations: 68.05 kB / 0.8275 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007962/0.06681, allocations: 1.061 MB / 0.8286 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.952e-05/0.06687, allocations: 37.7 kB / 0.8286 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/0.06716, allocations: 489.3 kB / 0.8291 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.06737, allocations: 257.7 kB / 0.8293 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.06763, allocations: 174.5 kB / 0.8295 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.06774, allocations: 341.8 kB / 0.8298 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.06802, allocations: 149.3 kB / 0.8299 GB, free: 13 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.06857, allocations: 0.8335 MB / 0.8308 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006168/0.06918, allocations: 455.3 kB / 0.8312 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.06919, allocations: 0 / 0.8312 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008588/0.07005, allocations: 0.5479 MB / 0.8317 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.07009, allocations: 37.73 kB / 0.8318 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.0701, allocations: 4 kB / 0.8318 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.07011, allocations: 8 kB / 0.8318 GB, free: 10.83 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.07091, allocations: 227.7 kB / 0.832 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.07092, allocations: 15.92 kB / 0.832 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.0716, allocations: 127.5 kB / 0.8321 GB, free: 10.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.07168, allocations: 39.91 kB / 0.8322 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000442/0.07212, allocations: 237.5 kB / 0.8324 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005326/0.07265, allocations: 0.849 MB / 0.8332 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005803/0.07323, allocations: 444.7 kB / 0.8337 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.028e-06/0.07324, allocations: 0 / 0.8337 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.000819/0.07406, allocations: 0.5475 MB / 0.8342 GB, free: 8.055 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.07409, allocations: 37.69 kB / 0.8342 GB, free: 8.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.07409, allocations: 4.406 kB / 0.8342 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.0741, allocations: 8 kB / 0.8342 GB, free: 8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.07483, allocations: 235.6 kB / 0.8345 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.07484, allocations: 12 kB / 0.8345 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.07552, allocations: 123.5 kB / 0.8346 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.07559, allocations: 31.98 kB / 0.8346 GB, free: 7.605 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.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 (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002223/0.07581, allocations: 232 kB / 0.8348 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.07597, allocations: 107.9 kB / 0.8349 GB, free: 7.266 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.077, allocations: 0.6369 MB / 0.8356 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.07702, allocations: 11.98 kB / 0.8356 GB, free: 6.602 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.07702, allocations: 3.938 kB / 0.8356 GB, free: 6.598 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005064/0.07753, allocations: 404.1 kB / 0.836 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.08004, allocations: 1.466 MB / 0.8374 GB, free: 4.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.08005, allocations: 4 kB / 0.8374 GB, free: 4.613 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.08073, allocations: 192.3 kB / 0.8376 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.08074, allocations: 11.94 kB / 0.8376 GB, free: 4.414 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.0808, allocations: 27.97 kB / 0.8376 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.08081, allocations: 8 kB / 0.8376 GB, free: 4.379 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.08082, allocations: 4 kB / 0.8376 GB, free: 4.375 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.08201, allocations: 0.873 MB / 0.8385 GB, free: 3.422 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.08243, allocations: 206.8 kB / 0.8387 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.08257, allocations: 16 kB / 0.8387 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.08319, allocations: 87.92 kB / 0.8388 GB, free: 3.117 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.08331, allocations: 72.27 kB / 0.8389 GB, free: 3.047 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.08338, allocations: 27.97 kB / 0.8389 GB, free: 3.02 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005682/0.08395, allocations: 0.5449 MB / 0.8394 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1e-07/0.08395, allocations: 0 / 0.8394 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001571/0.08552, allocations: 0.7718 MB / 0.8402 GB, free: 1.695 MB / 0.7917 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 (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007074/0.08623, allocations: 313 kB / 0.8405 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.08759, allocations: 0.8365 MB / 0.8413 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/0.08761, allocations: 16 kB / 0.8413 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.08798, allocations: 242.3 kB / 0.8415 GB, free: 276 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.08982, allocations: 0.6516 MB / 0.8422 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/0.09381, allocations: 2.391 MB / 0.8445 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.09406, allocations: 281.5 kB / 0.8448 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001127/0.09519, allocations: 298.5 kB / 0.845 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/0.09643, allocations: 0.5067 MB / 0.8455 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of SimCode: time 2.034e-06/0.09643, allocations: 0 / 0.8455 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.0423/0.1387, allocations: 30.55 MB / 0.8754 GB, free: 14.15 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.694114662706852]