Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.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.001501/0.001501, 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.001084/0.001084, 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 1.087/1.087, 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.935/1.935, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.7751 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.576e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002546/0.002572, allocations: 1.658 MB / 0.7768 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009671/0.003539, allocations: 0.632 MB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.417e-05/0.003603, allocations: 0 / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.003705, allocations: 12.62 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.003768, allocations: 20.36 kB / 0.7774 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.004173, allocations: 108.2 kB / 0.7775 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.004312, allocations: 97.36 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.004398, allocations: 20.19 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.004548, allocations: 55.89 kB / 0.7777 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.004619, allocations: 43.88 kB / 0.7777 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.004637, allocations: 4.812 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.004791, allocations: 107.8 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.004836, allocations: 28.39 kB / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.477e-05/0.00487, allocations: 23.92 kB / 0.7779 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.005055, allocations: 140.2 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.005057, allocations: 3.156 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.62e-07/0.005058, allocations: 0 / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.005061, allocations: 3.938 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004589/0.00552, allocations: 354.1 kB / 0.7784 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.005552, allocations: 13.28 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.005739, allocations: 28.91 kB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.005892, allocations: 143.3 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.005902, allocations: 4.375 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.005913, allocations: 4.375 kB / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.006062, allocations: 85.72 kB / 0.7786 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.006069, allocations: 192 / 0.7786 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.006079, allocations: 4.375 kB / 0.7786 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.006101, allocations: 13.69 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.006143, allocations: 19.97 kB / 0.7787 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.006457, allocations: 201.9 kB / 0.7789 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.829e-05/0.006536, allocations: 79.52 kB / 0.7789 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.006562, allocations: 12.84 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.006573, allocations: 4 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/0.006682, allocations: 75 kB / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.006683, allocations: 0 / 0.779 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001559/0.006839, allocations: 74.31 kB / 0.7791 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.006866, allocations: 60.28 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.006946, allocations: 137.5 kB / 0.7793 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.006961, allocations: 29.7 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.007005, allocations: 100.5 kB / 0.7794 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.007027, allocations: 28.64 kB / 0.7794 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.007072, allocations: 25.7 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.00715, allocations: 324.2 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-05/0.007193, allocations: 44.52 kB / 0.7798 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.007225, allocations: 37.7 kB / 0.7798 GB, free: 472 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.116e-05/0.007296, allocations: 72.11 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007297, allocations: 0.6562 kB / 0.7799 GB, free: 388 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001168/0.007414, allocations: 133 kB / 0.78 GB, free: 236 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.007438, allocations: 30.58 kB / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007442, allocations: 0 / 0.7801 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.007453, allocations: 4.844 kB / 0.7801 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.473e-05/0.007538, allocations: 19.92 kB / 0.7801 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007541, allocations: 4.938 kB / 0.7801 GB, free: 172 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.007606, allocations: 15.94 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.007616, allocations: 4.75 kB / 0.7801 GB, free: 152 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * 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 5.955e-05/0.007676, allocations: 121.2 kB / 0.7802 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.00769, allocations: 13.75 kB / 0.7802 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.007727, allocations: 16.84 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.007736, allocations: 4 kB / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.007738, allocations: 0 / 0.7803 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.00774, allocations: 4 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.513e-05/0.007825, allocations: 81.78 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.007828, allocations: 8.672 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.007875, allocations: 12.77 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.007879, allocations: 7.938 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.007886, allocations: 0.9375 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.007887, allocations: 0 / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007887, allocations: 0 / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.851e-05/0.007986, allocations: 95.64 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.008001, allocations: 15.84 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.008022, allocations: 12.97 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.002e-05/0.008072, allocations: 11.98 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.008113, allocations: 12.83 kB / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.008119, allocations: 0 / 0.7805 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.008148, allocations: 30.7 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008148, allocations: 0.9375 kB / 0.7805 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001876/0.008335, allocations: 39.98 kB / 0.7806 GB, free: 15.63 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.000123/0.008458, allocations: 106.9 kB / 0.7807 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00014/0.008598, allocations: 121.9 kB / 0.7808 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.008602, allocations: 4 kB / 0.7808 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.008648, allocations: 28.77 kB / 0.7808 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.008757, allocations: 16.97 kB / 0.7808 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.009243, allocations: 225.5 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.58e-05/0.009279, allocations: 64.56 kB / 0.7811 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.009326, allocations: 9.078 kB / 0.7811 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.009401, allocations: 63.36 kB / 0.7812 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.009401, allocations: 1.469 kB / 0.7812 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of Templates: time 0.003323/0.01272, allocations: 1.48 MB / 0.7826 GB, free: 13.51 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.993084818124771]