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.0007337/0.0007337, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002062, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009548/0.0009548, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002283, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9492/0.9492, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08476/1.034, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.892/1.892, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4498/2.342, allocations: 127.1 MB / 0.7435 GB, free: 4.539 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.613e-06/1.613e-06, allocations: 0 / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.988e-05/3.149e-05, allocations: 5.5 kB / 0.7448 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003091/0.003122, allocations: 2.273 MB / 0.7471 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.006212, allocations: 2.769 MB / 0.7498 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.006355, allocations: 6.438 kB / 0.7498 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.007392, allocations: 0.4951 MB / 0.7503 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.007716, allocations: 181.2 kB / 0.7504 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.008178, allocations: 212.4 kB / 0.7506 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004106/0.008589, allocations: 404.8 kB / 0.751 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.008706, allocations: 37.17 kB / 0.751 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.009013, allocations: 278.2 kB / 0.7513 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.009161, allocations: 119.6 kB / 0.7514 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.009183, allocations: 8 kB / 0.7514 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.009352, allocations: 71.88 kB / 0.7515 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.009471, allocations: 131.5 kB / 0.7516 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.626e-05/0.009557, allocations: 96.19 kB / 0.7517 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.009944, allocations: 410.4 kB / 0.7521 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-05/0.009957, allocations: 8.688 kB / 0.7521 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.483e-06/0.009959, allocations: 0 / 0.7521 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.009972, allocations: 4.469 kB / 0.7521 GB, free: 11.78 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.0009029/0.01087, allocations: 0.9081 MB / 0.753 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.01091, allocations: 8.812 kB / 0.753 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.01097, allocations: 44.88 kB / 0.7531 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.01129, allocations: 362.9 kB / 0.7534 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.0113, allocations: 5.281 kB / 0.7534 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.01132, allocations: 4.312 kB / 0.7534 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.01146, allocations: 104.8 kB / 0.7535 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.01147, allocations: 3.938 kB / 0.7535 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.01148, allocations: 11.94 kB / 0.7535 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.01148, allocations: 0 / 0.7535 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.01151, allocations: 16.73 kB / 0.7536 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.01188, allocations: 297.8 kB / 0.7538 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.01206, allocations: 110.2 kB / 0.7539 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.327e-05/0.01208, allocations: 16.84 kB / 0.754 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.01209, allocations: 3.938 kB / 0.754 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001073/0.0122, allocations: 108.8 kB / 0.7541 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.0122, allocations: 0 / 0.7541 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001554/0.01236, allocations: 102.1 kB / 0.7542 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.01238, allocations: 52.16 kB / 0.7542 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.01312, allocations: 0.7711 MB / 0.755 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01313, allocations: 31.39 kB / 0.755 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.01322, allocations: 173.9 kB / 0.7552 GB, free: 8.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.01324, allocations: 19.84 kB / 0.7552 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.01328, allocations: 29.69 kB / 0.7552 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.01335, allocations: 310.9 kB / 0.7555 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.01337, allocations: 14.83 kB / 0.7555 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.01341, allocations: 69.38 kB / 0.7556 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.01346, allocations: 47.64 kB / 0.7556 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01346, allocations: 1.75 kB / 0.7556 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000107/0.01357, allocations: 104.3 kB / 0.7557 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.01358, allocations: 4 kB / 0.7557 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01359, allocations: 3.984 kB / 0.7557 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.0136, allocations: 5.219 kB / 0.7557 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.335e-05/0.01366, allocations: 15.98 kB / 0.7558 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01366, allocations: 0 / 0.7558 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.01373, allocations: 12.58 kB / 0.7558 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.01373, allocations: 0 / 0.7558 GB, free: 7.855 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 9.243e-05/0.01382, allocations: 134.7 kB / 0.7559 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.01386, allocations: 39.89 kB / 0.7559 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.014, allocations: 124.7 kB / 0.7561 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.014, allocations: 0 / 0.7561 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.014, allocations: 0.5 kB / 0.7561 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.014, allocations: 4.516 kB / 0.7561 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.01416, allocations: 199.3 kB / 0.7562 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01417, allocations: 0 / 0.7562 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.01421, allocations: 8 kB / 0.7563 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.01425, allocations: 63.45 kB / 0.7563 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01425, allocations: 4 kB / 0.7563 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01426, allocations: 5.312 kB / 0.7563 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01426, allocations: 3.938 kB / 0.7563 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01426, allocations: 0 / 0.7563 GB, free: 7.242 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.01437, allocations: 127.9 kB / 0.7565 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.0144, allocations: 7.938 kB / 0.7565 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.01446, allocations: 4 kB / 0.7565 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.0145, allocations: 13 kB / 0.7565 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01451, allocations: 4 kB / 0.7565 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002763/0.01478, allocations: 387.3 kB / 0.7568 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01478, allocations: 5.312 kB / 0.7569 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001717/0.01495, allocations: 63.88 kB / 0.7569 GB, free: 6.625 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.001329/0.01628, allocations: 0.5747 MB / 0.7575 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.01639, allocations: 44.77 kB / 0.7575 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.0164, allocations: 8 kB / 0.7575 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.517e-05/0.01645, allocations: 33.08 kB / 0.7576 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007945/0.01724, allocations: 1.512 MB / 0.759 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.02142, allocations: 0.9122 MB / 0.7599 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.02153, allocations: 176.2 kB / 0.7601 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.02165, allocations: 31.08 kB / 0.7601 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.02185, allocations: 149.2 kB / 0.7603 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/0.02185, allocations: 0 / 0.7603 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of Templates: time 0.009821/0.03167, allocations: 7.308 MB / 0.7674 GB, free: 12.11 MB / 0.7449 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.8771266881376505]