Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.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.0008361/0.0008361, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001768/0.002604, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009021/0.0009021, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009888/0.001891, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9558/0.9558, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08225/1.038, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.834/1.834, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5084/2.342, allocations: 127.1 MB / 0.7432 GB, free: 4.602 MB / 0.7136 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.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.7445 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.103e-05, allocations: 12.92 kB / 0.7445 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002687/0.002708, allocations: 2.26 MB / 0.7467 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.005246, allocations: 2.773 MB / 0.7494 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.005357, allocations: 4 kB / 0.7494 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.006228, allocations: 0.5021 MB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.006495, allocations: 172.5 kB / 0.7501 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.006892, allocations: 206.3 kB / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003393/0.007231, allocations: 404.8 kB / 0.7507 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.007341, allocations: 41.12 kB / 0.7507 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.007609, allocations: 281 kB / 0.751 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.007737, allocations: 115.7 kB / 0.7511 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.007759, allocations: 15.94 kB / 0.7511 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.007906, allocations: 67.88 kB / 0.7512 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.008017, allocations: 127.5 kB / 0.7513 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.908e-05/0.008106, allocations: 103.6 kB / 0.7514 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.008484, allocations: 414.4 kB / 0.7518 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.008498, allocations: 2.719 kB / 0.7518 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.62e-07/0.008499, allocations: 0 / 0.7518 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.008516, allocations: 0 / 0.7518 GB, free: 11.87 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009112/0.009428, allocations: 0.9152 MB / 0.7527 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.009457, allocations: 8.031 kB / 0.7527 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.009513, allocations: 44.88 kB / 0.7527 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.009815, allocations: 363 kB / 0.7531 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.009833, allocations: 4.375 kB / 0.7531 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.009844, allocations: 5 kB / 0.7531 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.009973, allocations: 107.4 kB / 0.7532 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.009984, allocations: 8.828 kB / 0.7532 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.009993, allocations: 4 kB / 0.7532 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.009998, allocations: 1.438 kB / 0.7532 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.596e-05/0.01003, allocations: 15.98 kB / 0.7532 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.01039, allocations: 301.8 kB / 0.7535 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.01057, allocations: 104.8 kB / 0.7536 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.0106, allocations: 23.09 kB / 0.7536 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.01061, allocations: 7.938 kB / 0.7536 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.01073, allocations: 99.86 kB / 0.7537 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.01073, allocations: 96 / 0.7537 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001561/0.01089, allocations: 106.4 kB / 0.7538 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.01091, allocations: 51.41 kB / 0.7539 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.01142, allocations: 0.7715 MB / 0.7546 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.01143, allocations: 31.02 kB / 0.7547 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.01152, allocations: 173.9 kB / 0.7548 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.01154, allocations: 23.83 kB / 0.7548 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.01158, allocations: 21.72 kB / 0.7549 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.01165, allocations: 315.6 kB / 0.7552 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.01167, allocations: 10.83 kB / 0.7552 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.01171, allocations: 64.2 kB / 0.7552 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.01176, allocations: 48.52 kB / 0.7553 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.01176, allocations: 4 kB / 0.7553 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.549e-05/0.01186, allocations: 109.5 kB / 0.7554 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.01187, allocations: 8 kB / 0.7554 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.01187, allocations: 1.75 kB / 0.7554 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.654e-06/0.01188, allocations: 0 / 0.7554 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.01194, allocations: 15.98 kB / 0.7554 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.01194, allocations: 0 / 0.7554 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.012, allocations: 7.938 kB / 0.7554 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.01201, allocations: 9.203 kB / 0.7554 GB, free: 7.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.71e-05/0.0121, allocations: 121.2 kB / 0.7556 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.01213, allocations: 39.89 kB / 0.7556 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.01227, allocations: 120.8 kB / 0.7557 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01228, allocations: 1.125 kB / 0.7557 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01228, allocations: 0 / 0.7557 GB, free: 7.633 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01228, allocations: 4 kB / 0.7557 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.01243, allocations: 198.2 kB / 0.7559 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.01243, allocations: 0.5312 kB / 0.7559 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.345e-05/0.01247, allocations: 12.92 kB / 0.7559 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.01251, allocations: 63.47 kB / 0.756 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01252, allocations: 0 / 0.756 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.01252, allocations: 8.516 kB / 0.756 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01252, allocations: 1.531 kB / 0.756 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01253, allocations: 3.938 kB / 0.756 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.01263, allocations: 130.6 kB / 0.7561 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.01266, allocations: 7.938 kB / 0.7561 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.536e-05/0.01271, allocations: 5.375 kB / 0.7561 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.01275, allocations: 7.984 kB / 0.7561 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.01276, allocations: 7.984 kB / 0.7561 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002768/0.01304, allocations: 391.3 kB / 0.7565 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01304, allocations: 0.7188 kB / 0.7565 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001689/0.01321, allocations: 67.88 kB / 0.7566 GB, free: 6.707 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001256/0.01447, allocations: 0.5639 MB / 0.7571 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.146e-05/0.01456, allocations: 40.78 kB / 0.7572 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.01457, allocations: 8 kB / 0.7572 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.0146, allocations: 31.66 kB / 0.7572 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.01496, allocations: 214.5 kB / 0.7574 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/0.01912, allocations: 0.9168 MB / 0.7583 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01922, allocations: 180.8 kB / 0.7585 GB, free: 5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.837e-05/0.01931, allocations: 36.06 kB / 0.7585 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.0195, allocations: 145.2 kB / 0.7587 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/0.0195, allocations: 3.938 kB / 0.7587 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of Templates: time 0.009225/0.02873, allocations: 7.29 MB / 0.7658 GB, free: 13.83 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.843775323592126]