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.0009403/0.0009403, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001112/0.001112, allocations: 165.5 kB / 24.96 MB, free: 8.711 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.9342/0.9342, allocations: 177.2 MB / 205.4 MB, free: 4.473 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.945/1.945, allocations: 389.6 MB / 0.6362 GB, free: 13.36 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.453e-06/1.453e-06, allocations: 0 / 0.776 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.077e-05, allocations: 2.312 kB / 0.776 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.002804/0.002825, allocations: 2.259 MB / 0.7782 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.005443, allocations: 2.744 MB / 0.7809 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.005582, allocations: 0 / 0.7809 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.006679, allocations: 0.5091 MB / 0.7814 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.006974, allocations: 171 kB / 0.7816 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.007448, allocations: 199.3 kB / 0.7818 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004695/0.007917, allocations: 398 kB / 0.7821 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.008053, allocations: 37.25 kB / 0.7822 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.008313, allocations: 183.5 kB / 0.7824 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.008468, allocations: 123.6 kB / 0.7825 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.008494, allocations: 8 kB / 0.7825 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.008662, allocations: 75.86 kB / 0.7825 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.008782, allocations: 135.5 kB / 0.7827 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.008889, allocations: 107.5 kB / 0.7828 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005154/0.009404, allocations: 434.2 kB / 0.7832 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.009407, allocations: 0 / 0.7832 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.353e-06/0.009408, allocations: 0 / 0.7832 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.009416, allocations: 0 / 0.7832 GB, free: 6.496 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.0008179/0.01023, allocations: 0.8219 MB / 0.784 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.01027, allocations: 8.031 kB / 0.784 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.01035, allocations: 40.89 kB / 0.784 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.01068, allocations: 366.2 kB / 0.7844 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.0107, allocations: 12.38 kB / 0.7844 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.01071, allocations: 4.375 kB / 0.7844 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.01085, allocations: 103.4 kB / 0.7845 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.01085, allocations: 3.938 kB / 0.7845 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.01086, allocations: 0 / 0.7845 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.01087, allocations: 3.984 kB / 0.7845 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.0109, allocations: 19.98 kB / 0.7845 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003826/0.01129, allocations: 297.8 kB / 0.7848 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.01147, allocations: 112.1 kB / 0.7849 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.404e-05/0.0115, allocations: 20.86 kB / 0.7849 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01151, allocations: 7.938 kB / 0.785 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.01162, allocations: 95.89 kB / 0.785 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.01162, allocations: 0 / 0.785 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000178/0.0118, allocations: 105.7 kB / 0.7851 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.01183, allocations: 51.41 kB / 0.7852 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005276/0.01235, allocations: 0.7711 MB / 0.7859 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.01238, allocations: 25.7 kB / 0.786 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.01247, allocations: 185.9 kB / 0.7861 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.0125, allocations: 19.78 kB / 0.7862 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.01253, allocations: 29.69 kB / 0.7862 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.01261, allocations: 310 kB / 0.7865 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.01264, allocations: 10.81 kB / 0.7865 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.01267, allocations: 52.28 kB / 0.7866 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.315e-05/0.01273, allocations: 55.27 kB / 0.7866 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01273, allocations: 0 / 0.7866 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000108/0.01284, allocations: 104.6 kB / 0.7867 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01285, allocations: 16 kB / 0.7867 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01286, allocations: 0 / 0.7867 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01287, allocations: 0 / 0.7867 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.772e-05/0.01293, allocations: 23.98 kB / 0.7867 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.01293, allocations: 80 / 0.7867 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.013, allocations: 4 kB / 0.7867 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.01301, allocations: 3.984 kB / 0.7868 GB, free: 2.641 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.112e-05/0.0131, allocations: 120.7 kB / 0.7869 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.01313, allocations: 43.88 kB / 0.7869 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.01329, allocations: 132.1 kB / 0.787 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01329, allocations: 0 / 0.787 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01329, allocations: 0 / 0.787 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.0133, allocations: 0 / 0.787 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.01348, allocations: 205.5 kB / 0.7872 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01348, allocations: 0 / 0.7872 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.228e-05/0.01351, allocations: 8 kB / 0.7872 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01351, allocations: 0 / 0.7872 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.01352, allocations: 7.922 kB / 0.7872 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01352, allocations: 4 kB / 0.7872 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01353, allocations: 0 / 0.7872 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.01364, allocations: 134.6 kB / 0.7874 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.01369, allocations: 59.53 kB / 0.7874 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01371, allocations: 3.938 kB / 0.7874 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.01377, allocations: 7.984 kB / 0.7874 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.01381, allocations: 7.984 kB / 0.7875 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.01382, allocations: 4 kB / 0.7875 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002718/0.01409, allocations: 395.3 kB / 0.7878 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01409, allocations: 0 / 0.7878 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000173/0.01427, allocations: 59.94 kB / 0.7879 GB, free: 1.41 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.001182/0.01545, allocations: 0.519 MB / 0.7884 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.01555, allocations: 40.78 kB / 0.7884 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.01556, allocations: 8 kB / 0.7884 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/0.0156, allocations: 28.83 kB / 0.7885 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.01596, allocations: 175.2 kB / 0.7886 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.01711, allocations: 0.9138 MB / 0.7895 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.01722, allocations: 176.2 kB / 0.7897 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.01732, allocations: 46.88 kB / 0.7897 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.01753, allocations: 145.2 kB / 0.7899 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of SimCode: time 1.173e-06/0.01753, allocations: 0 / 0.7899 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of Templates: time 0.00928/0.02681, allocations: 6.841 MB / 0.7966 GB, free: 8.785 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.391217881813645]