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.001107/0.001107, allocations: 88.8 kB / 21.63 MB, free: 2.828 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.0009757/0.0009757, allocations: 171.8 kB / 25.04 MB, free: 8.793 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 0.8482/0.8482, allocations: 177.2 MB / 205.5 MB, free: 4.426 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.924/1.924, allocations: 389.6 MB / 0.6363 GB, free: 13.33 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.422e-06/1.422e-06, allocations: 0 / 0.7762 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.366e-05, allocations: 6.25 kB / 0.7762 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003787/0.003811, allocations: 2.262 MB / 0.7784 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003459/0.00727, allocations: 2.744 MB / 0.7811 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.007394, allocations: 4 kB / 0.7811 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.008423, allocations: 0.5013 MB / 0.7816 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.008684, allocations: 175 kB / 0.7817 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/0.009065, allocations: 199.3 kB / 0.7819 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.009385, allocations: 405.3 kB / 0.7823 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.009478, allocations: 33.25 kB / 0.7823 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.0097, allocations: 187.4 kB / 0.7825 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.009835, allocations: 115.7 kB / 0.7826 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.009858, allocations: 8 kB / 0.7826 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.01, allocations: 75.88 kB / 0.7827 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.01011, allocations: 139.4 kB / 0.7829 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.01018, allocations: 99.61 kB / 0.7829 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.01059, allocations: 442.2 kB / 0.7834 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.01059, allocations: 4 kB / 0.7834 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.01059, allocations: 0 / 0.7834 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.0106, allocations: 0 / 0.7834 GB, free: 6.41 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.0008994/0.0115, allocations: 0.814 MB / 0.7842 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.01153, allocations: 8.031 kB / 0.7842 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.397e-05/0.01161, allocations: 48.88 kB / 0.7842 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.01198, allocations: 362.2 kB / 0.7846 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.012, allocations: 4.375 kB / 0.7846 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.01202, allocations: 8.375 kB / 0.7846 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.01217, allocations: 111.4 kB / 0.7847 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.01218, allocations: 3.938 kB / 0.7847 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.01219, allocations: 0 / 0.7847 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.01219, allocations: 0 / 0.7847 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.01224, allocations: 15.98 kB / 0.7847 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.0127, allocations: 297.9 kB / 0.785 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.01291, allocations: 108.1 kB / 0.7851 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.01294, allocations: 16.84 kB / 0.7851 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.01295, allocations: 11.94 kB / 0.7851 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.01307, allocations: 99.89 kB / 0.7852 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.01307, allocations: 0 / 0.7852 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.00019/0.01326, allocations: 109.5 kB / 0.7853 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.01329, allocations: 51.41 kB / 0.7854 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008612/0.01415, allocations: 0.7711 MB / 0.7861 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01417, allocations: 25.7 kB / 0.7861 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.0143, allocations: 173.9 kB / 0.7863 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.01434, allocations: 27.78 kB / 0.7863 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.01438, allocations: 25.7 kB / 0.7864 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.01448, allocations: 317.9 kB / 0.7867 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.192e-05/0.01451, allocations: 10.83 kB / 0.7867 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.438e-05/0.01456, allocations: 60.25 kB / 0.7867 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.01464, allocations: 43.3 kB / 0.7868 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01464, allocations: 0 / 0.7868 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001512/0.01479, allocations: 112.6 kB / 0.7869 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.0148, allocations: 8 kB / 0.7869 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01481, allocations: 4 kB / 0.7869 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.387e-06/0.01482, allocations: 4.062 kB / 0.7869 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.0149, allocations: 15.98 kB / 0.7869 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-06/0.0149, allocations: 80 / 0.7869 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.01499, allocations: 4 kB / 0.7869 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.015, allocations: 7.984 kB / 0.7869 GB, free: 2.559 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 0.0001107/0.01511, allocations: 116.7 kB / 0.787 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/0.01516, allocations: 47.89 kB / 0.7871 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.01536, allocations: 120.1 kB / 0.7872 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.01536, allocations: 0 / 0.7872 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.01536, allocations: 0 / 0.7872 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01537, allocations: 4 kB / 0.7872 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.0156, allocations: 209.5 kB / 0.7874 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0156, allocations: 0 / 0.7874 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.01565, allocations: 11.98 kB / 0.7874 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01565, allocations: 0 / 0.7874 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.01566, allocations: 7.938 kB / 0.7874 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01566, allocations: 4 kB / 0.7874 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01567, allocations: 0 / 0.7874 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.01581, allocations: 122.7 kB / 0.7875 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.01588, allocations: 63.52 kB / 0.7876 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.01593, allocations: 11.94 kB / 0.7876 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.01602, allocations: 0 / 0.7876 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.01606, allocations: 11.98 kB / 0.7876 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.01607, allocations: 4 kB / 0.7876 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00036/0.01643, allocations: 391.3 kB / 0.788 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/0.01643, allocations: 0 / 0.788 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000285/0.01672, allocations: 59.94 kB / 0.7881 GB, free: 1.336 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.00141/0.01813, allocations: 0.5217 MB / 0.7886 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000133/0.01826, allocations: 48.75 kB / 0.7886 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.01827, allocations: 8 kB / 0.7886 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.931e-05/0.01832, allocations: 24.86 kB / 0.7886 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.01877, allocations: 167 kB / 0.7888 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.0203, allocations: 0.9138 MB / 0.7897 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.02046, allocations: 180.2 kB / 0.7899 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.02058, allocations: 38.95 kB / 0.7899 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.02086, allocations: 153.2 kB / 0.7901 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of SimCode: time 6.62e-07/0.02086, allocations: 0 / 0.7901 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of Templates: time 0.012/0.03286, allocations: 6.851 MB / 0.7967 GB, free: 8.699 MB / 0.7605 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.055012784898281]