Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001408/0.001408, 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.001637/0.001637, allocations: 161.4 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.9973/0.9973, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.889/1.889, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.122e-05, allocations: 6.312 kB / 0.7752 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002451/0.002472, allocations: 2.146 MB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.005153, allocations: 2.577 MB / 0.7799 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.005247, allocations: 0 / 0.7799 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009348/0.006182, allocations: 484.2 kB / 0.7803 GB, free: 164 kB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.006296, allocations: 72.91 kB / 0.7804 GB, free: 92 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005434/0.00684, allocations: 245.4 kB / 0.7806 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.007155, allocations: 335.5 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.007266, allocations: 54.05 kB / 0.781 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.007423, allocations: 151.6 kB / 0.7811 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.007539, allocations: 99.69 kB / 0.7812 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.007559, allocations: 8.5 kB / 0.7812 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.008025, allocations: 376.2 kB / 0.7816 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.008116, allocations: 109.3 kB / 0.7817 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.888e-05/0.008204, allocations: 103.6 kB / 0.7818 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.008731, allocations: 0.6034 MB / 0.7824 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.008733, allocations: 0 / 0.7824 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.008733, allocations: 0 / 0.7824 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.008738, allocations: 0.5 kB / 0.7824 GB, free: 14.04 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006112/0.009349, allocations: 0.7803 MB / 0.7831 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.00938, allocations: 13.34 kB / 0.7832 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.009431, allocations: 44.89 kB / 0.7832 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.009676, allocations: 322.9 kB / 0.7835 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.009691, allocations: 9.312 kB / 0.7835 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.009702, allocations: 4.375 kB / 0.7835 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.009829, allocations: 124.5 kB / 0.7836 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.009836, allocations: 3.938 kB / 0.7836 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.009844, allocations: 0.6562 kB / 0.7836 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.009849, allocations: 5.281 kB / 0.7837 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.113e-05/0.00991, allocations: 64.11 kB / 0.7837 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.01029, allocations: 321.6 kB / 0.784 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.01037, allocations: 123.4 kB / 0.7841 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.0104, allocations: 50.61 kB / 0.7842 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.01042, allocations: 4 kB / 0.7842 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.992e-05/0.01052, allocations: 125.6 kB / 0.7843 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.163e-06/0.01053, allocations: 1.094 kB / 0.7843 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001747/0.0107, allocations: 218.6 kB / 0.7845 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.01073, allocations: 81.3 kB / 0.7846 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.01104, allocations: 0.5126 MB / 0.7851 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.01105, allocations: 29.7 kB / 0.7851 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.01114, allocations: 175.2 kB / 0.7853 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.01116, allocations: 35.73 kB / 0.7853 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.0112, allocations: 25.69 kB / 0.7854 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.01126, allocations: 306 kB / 0.7856 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.01129, allocations: 49.92 kB / 0.7857 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.01132, allocations: 41.69 kB / 0.7857 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.62e-05/0.01138, allocations: 115.4 kB / 0.7858 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01138, allocations: 0 / 0.7858 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000358/0.01174, allocations: 154.3 kB / 0.786 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.01177, allocations: 41.62 kB / 0.786 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.01177, allocations: 0 / 0.786 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.01178, allocations: 1.281 kB / 0.786 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.01184, allocations: 11.98 kB / 0.786 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.01184, allocations: 3.938 kB / 0.786 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.207e-05/0.0119, allocations: 8.875 kB / 0.7861 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.01191, allocations: 4 kB / 0.7861 GB, free: 10.01 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001006/0.01201, allocations: 160.1 kB / 0.7862 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.01204, allocations: 39.95 kB / 0.7862 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.0122, allocations: 191.7 kB / 0.7864 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.0122, allocations: 0 / 0.7864 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.0122, allocations: 0 / 0.7864 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.01221, allocations: 8.875 kB / 0.7864 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.01235, allocations: 189.6 kB / 0.7866 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01235, allocations: 0 / 0.7866 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.01237, allocations: 5.156 kB / 0.7866 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.01238, allocations: 4 kB / 0.7866 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.01239, allocations: 10.69 kB / 0.7866 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01239, allocations: 0 / 0.7866 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01239, allocations: 0 / 0.7866 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.01251, allocations: 210 kB / 0.7868 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.01257, allocations: 63.5 kB / 0.7869 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.0126, allocations: 4 kB / 0.7869 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.831e-05/0.01265, allocations: 4 kB / 0.7869 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.01267, allocations: 11.98 kB / 0.7869 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01268, allocations: 6.625 kB / 0.7869 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001799/0.01286, allocations: 248.5 kB / 0.7872 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01286, allocations: 0 / 0.7872 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002961/0.01316, allocations: 123.8 kB / 0.7873 GB, free: 8.676 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: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0002416/0.0134, allocations: 200.1 kB / 0.7875 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.01354, allocations: 173 kB / 0.7876 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01354, allocations: 4 kB / 0.7876 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.0136, allocations: 121.9 kB / 0.7878 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01388, allocations: 125 kB / 0.7879 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.01493, allocations: 0.883 MB / 0.7887 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.01504, allocations: 175.7 kB / 0.7889 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.672e-05/0.01511, allocations: 15.91 kB / 0.7889 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.01529, allocations: 129.3 kB / 0.789 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.01529, allocations: 0 / 0.789 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.008718/0.02401, allocations: 6.101 MB / 0.795 GB, free: 0.9102 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.87597841816023]