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.001967/0.001967, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002061/0.002061, 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.658/1.658, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.27/3.27, 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.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 2.174e-06/2.174e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.612e-05/3.829e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.004588/0.004626, allocations: 2.131 MB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004477/0.009103, allocations: 2.527 MB / 1.006 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.009259, allocations: 0 / 1.006 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.01098, allocations: 0.4975 MB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.01142, allocations: 167.1 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.01201, allocations: 207.2 kB / 1.007 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.01256, allocations: 405.7 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.01269, allocations: 33.25 kB / 1.007 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.01296, allocations: 179.5 kB / 1.007 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.01319, allocations: 127.6 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.01323, allocations: 8 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.01345, allocations: 71.88 kB / 1.007 GB, free: 6.637 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.01365, allocations: 131.5 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.01383, allocations: 111.5 kB / 1.008 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009902/0.01482, allocations: 0.6969 MB / 1.008 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01483, allocations: 3.938 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01483, allocations: 0 / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.01484, allocations: 3.938 kB / 1.008 GB, free: 5.691 MB / 0.9636 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.001329/0.01616, allocations: 0.8546 MB / 1.009 GB, free: 4.797 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.0162, allocations: 9.344 kB / 1.009 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.01634, allocations: 72.47 kB / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.01693, allocations: 402.2 kB / 1.01 GB, free: 4.297 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.01696, allocations: 8.312 kB / 1.01 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.01698, allocations: 8.375 kB / 1.01 GB, free: 4.281 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.01726, allocations: 139.3 kB / 1.01 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.01727, allocations: 7.922 kB / 1.01 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.01729, allocations: 4 kB / 1.01 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.01729, allocations: 3.984 kB / 1.01 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.01743, allocations: 47.92 kB / 1.01 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.01827, allocations: 464.3 kB / 1.01 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.01868, allocations: 102.5 kB / 1.01 GB, free: 3.465 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.526e-05/0.01878, allocations: 40.86 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.0188, allocations: 7.938 kB / 1.01 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.01904, allocations: 117.1 kB / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.01904, allocations: 0 / 1.01 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004847/0.01952, allocations: 201.2 kB / 1.011 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.317e-05/0.0196, allocations: 81.11 kB / 1.011 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.02118, allocations: 0.9305 MB / 1.012 GB, free: 2.039 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.02121, allocations: 25.7 kB / 1.012 GB, free: 2.008 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003643/0.02157, allocations: 328 kB / 1.012 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.02161, allocations: 23.86 kB / 1.012 GB, free: 1.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.02166, allocations: 25.7 kB / 1.012 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.02184, allocations: 310 kB / 1.012 GB, free: 1.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.02193, allocations: 27.98 kB / 1.012 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.02209, allocations: 118.8 kB / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.02228, allocations: 85.55 kB / 1.013 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.02228, allocations: 0 / 1.013 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003024/0.02258, allocations: 169.2 kB / 1.013 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.02261, allocations: 8 kB / 1.013 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.02261, allocations: 4.062 kB / 1.013 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.02263, allocations: 0 / 1.013 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.02272, allocations: 19.92 kB / 1.013 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.02273, allocations: 0 / 1.013 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.02284, allocations: 4 kB / 1.013 GB, free: 0.8555 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.02285, allocations: 4 kB / 1.013 GB, free: 0.8516 MB / 0.9636 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 0.0003869/0.02324, allocations: 325.6 kB / 1.013 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.02333, allocations: 79.48 kB / 1.013 GB, free: 456 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.02372, allocations: 188.1 kB / 1.013 GB, free: 260 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.02373, allocations: 4 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.02373, allocations: 3.984 kB / 1.013 GB, free: 252 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.02374, allocations: 3.938 kB / 1.013 GB, free: 248 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.02419, allocations: 336.9 kB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.02419, allocations: 0 / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.02425, allocations: 7.984 kB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.02425, allocations: 4 kB / 1.014 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.02426, allocations: 4 kB / 1.014 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.02426, allocations: 0 / 1.014 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.02426, allocations: 0 / 1.014 GB, free: 15.87 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.02462, allocations: 212.8 kB / 1.014 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.02472, allocations: 63.52 kB / 1.014 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.02477, allocations: 7.938 kB / 1.014 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.02489, allocations: 4 kB / 1.014 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.02496, allocations: 11.97 kB / 1.014 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.02498, allocations: 8 kB / 1.014 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0009226/0.0259, allocations: 0.6863 MB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.0259, allocations: 0 / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002978/0.0262, allocations: 63.94 kB / 1.015 GB, free: 14.8 MB / 0.9792 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.00344/0.02964, allocations: 442.6 kB / 1.015 GB, free: 14.54 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.02999, allocations: 87.81 kB / 1.015 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02999, allocations: 0 / 1.015 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.03014, allocations: 39.92 kB / 1.015 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.03118, allocations: 169.9 kB / 1.015 GB, free: 14.26 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.03379, allocations: 1.154 MB / 1.017 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.03452, allocations: 403.7 kB / 1.017 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.03472, allocations: 46.95 kB / 1.017 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.03482, allocations: 24.5 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of SimCode: time 5.91e-07/0.03482, allocations: 4 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of Templates: time 0.0203/0.05512, allocations: 6.395 MB / 1.023 GB, free: 6.34 MB / 0.9792 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: 9.633153512142599]