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.001005/0.001005, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00114/0.00114, allocations: 161 kB / 24.16 MB, free: 332 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.9523/0.9523, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.838/1.838, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.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.433e-06/1.433e-06, allocations: 0 / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.525e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.00303/0.003045, allocations: 2.216 MB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.005749, allocations: 2.752 MB / 0.78 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.005863, allocations: 0 / 0.78 GB, free: 452 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.006865, allocations: 0.5004 MB / 0.7805 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.007109, allocations: 180.2 kB / 0.7807 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.007446, allocations: 201.1 kB / 0.7809 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.007775, allocations: 401.7 kB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.355e-05/0.007868, allocations: 34.03 kB / 0.7813 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.008035, allocations: 187.4 kB / 0.7815 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.00816, allocations: 116.3 kB / 0.7816 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.00818, allocations: 8.906 kB / 0.7816 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.008298, allocations: 71.88 kB / 0.7817 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.008411, allocations: 140.5 kB / 0.7818 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.008496, allocations: 107.5 kB / 0.7819 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.00885, allocations: 434.3 kB / 0.7823 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.008852, allocations: 0.9688 kB / 0.7823 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.81e-07/0.008853, allocations: 0 / 0.7823 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.008857, allocations: 0 / 0.7823 GB, free: 14.1 MB / 0.7448 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.00103/0.009887, allocations: 0.8195 MB / 0.7831 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.009915, allocations: 9.344 kB / 0.7831 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.009969, allocations: 44.88 kB / 0.7832 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.01026, allocations: 359.1 kB / 0.7835 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.01028, allocations: 8.375 kB / 0.7835 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.01029, allocations: 5.625 kB / 0.7835 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.01042, allocations: 107.4 kB / 0.7836 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.01043, allocations: 3.938 kB / 0.7836 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.01043, allocations: 1.75 kB / 0.7836 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.01044, allocations: 0 / 0.7836 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.562e-05/0.01047, allocations: 19.98 kB / 0.7837 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.01081, allocations: 297.8 kB / 0.7839 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.01097, allocations: 104.9 kB / 0.784 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.011, allocations: 25.38 kB / 0.7841 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.01101, allocations: 5.719 kB / 0.7841 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.182e-05/0.0111, allocations: 95.86 kB / 0.7842 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.0111, allocations: 0 / 0.7842 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001453/0.01125, allocations: 111.1 kB / 0.7843 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.01127, allocations: 55.41 kB / 0.7843 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.01177, allocations: 0.7633 MB / 0.7851 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.01179, allocations: 33.7 kB / 0.7851 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.01188, allocations: 178.9 kB / 0.7853 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.0119, allocations: 27.77 kB / 0.7853 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.01193, allocations: 17.72 kB / 0.7853 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.012, allocations: 319 kB / 0.7856 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.01202, allocations: 10.83 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.01206, allocations: 61.42 kB / 0.7857 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.01211, allocations: 51.62 kB / 0.7857 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01211, allocations: 1.031 kB / 0.7857 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.641e-05/0.01221, allocations: 108.3 kB / 0.7858 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.01222, allocations: 5.312 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.01222, allocations: 0 / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.01223, allocations: 0 / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.84e-05/0.01228, allocations: 15.98 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.01228, allocations: 1.031 kB / 0.7859 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.928e-05/0.01234, allocations: 4 kB / 0.7859 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.01235, allocations: 0 / 0.7859 GB, free: 10.27 MB / 0.7448 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.166e-05/0.01244, allocations: 127.3 kB / 0.786 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.01247, allocations: 43.89 kB / 0.786 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.01261, allocations: 125.5 kB / 0.7862 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01261, allocations: 3.984 kB / 0.7862 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01261, allocations: 0 / 0.7862 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01261, allocations: 0 / 0.7862 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.01277, allocations: 206.6 kB / 0.7864 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01277, allocations: 0 / 0.7864 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.0128, allocations: 11.98 kB / 0.7864 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.0128, allocations: 0.7812 kB / 0.7864 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.01281, allocations: 3.938 kB / 0.7864 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.01281, allocations: 1.625 kB / 0.7864 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01281, allocations: 0 / 0.7864 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.865e-05/0.01291, allocations: 134.6 kB / 0.7865 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.01296, allocations: 59.52 kB / 0.7866 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.01299, allocations: 10.38 kB / 0.7866 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.01304, allocations: 4 kB / 0.7866 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.466e-05/0.01308, allocations: 7.984 kB / 0.7866 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01309, allocations: 4 kB / 0.7866 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002779/0.01337, allocations: 395.3 kB / 0.787 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01337, allocations: 0 / 0.787 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001604/0.01353, allocations: 63.89 kB / 0.787 GB, free: 9.047 MB / 0.7448 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.001053/0.01458, allocations: 0.5085 MB / 0.7875 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.01467, allocations: 53.5 kB / 0.7876 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.01468, allocations: 8 kB / 0.7876 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.01472, allocations: 25.45 kB / 0.7876 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.01505, allocations: 172.8 kB / 0.7878 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.0161, allocations: 0.9124 MB / 0.7887 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.01621, allocations: 176.2 kB / 0.7888 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.952e-05/0.01629, allocations: 30.08 kB / 0.7888 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.0165, allocations: 161.7 kB / 0.789 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.0165, allocations: 0.5938 kB / 0.789 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of Templates: time 0.009061/0.02556, allocations: 6.854 MB / 0.7957 GB, free: 0.6367 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: 5.026284703984857]