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.0009064/0.0009064, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002132, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001239/0.001239, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001492/0.002731, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9482/0.9482, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09076/1.039, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.912/1.912, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5157/2.428, allocations: 127.1 MB / 0.7432 GB, free: 4.602 MB / 0.7136 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.894e-06/1.894e-06, allocations: 0 / 0.7444 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.577e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002488/0.002504, allocations: 1.647 MB / 0.746 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007668/0.003271, allocations: 0.6399 MB / 0.7467 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.003316, allocations: 7.938 kB / 0.7467 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.679e-05/0.003363, allocations: 5.609 kB / 0.7467 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.003404, allocations: 26.59 kB / 0.7467 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.003642, allocations: 96.67 kB / 0.7468 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.003765, allocations: 111.4 kB / 0.7469 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.391e-05/0.003829, allocations: 16.2 kB / 0.7469 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.003954, allocations: 78.25 kB / 0.747 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.00401, allocations: 35.89 kB / 0.747 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.004027, allocations: 8 kB / 0.747 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.004148, allocations: 101 kB / 0.7471 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.004181, allocations: 19.92 kB / 0.7472 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.00421, allocations: 19.94 kB / 0.7472 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.004354, allocations: 126 kB / 0.7473 GB, free: 476 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.004364, allocations: 0 / 0.7473 GB, free: 476 kB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004365, allocations: 0 / 0.7473 GB, free: 476 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.004374, allocations: 0 / 0.7473 GB, free: 476 kB / 0.7136 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.0003907/0.004765, allocations: 369.8 kB / 0.7476 GB, free: 76 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.24e-05/0.004787, allocations: 8.562 kB / 0.7477 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.004954, allocations: 114.8 kB / 0.7478 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005076, allocations: 134.1 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.005088, allocations: 12.3 kB / 0.7479 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.005098, allocations: 4.375 kB / 0.7479 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.005216, allocations: 85.73 kB / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.005223, allocations: 192 / 0.748 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.005231, allocations: 4.359 kB / 0.748 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.005252, allocations: 14.73 kB / 0.748 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.191e-05/0.005284, allocations: 8 kB / 0.748 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.005554, allocations: 213.7 kB / 0.7482 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.005613, allocations: 70.48 kB / 0.7483 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.005635, allocations: 16.84 kB / 0.7483 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.005645, allocations: 3.562 kB / 0.7483 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.963e-05/0.005735, allocations: 90.12 kB / 0.7484 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005736, allocations: 0 / 0.7484 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001021/0.005838, allocations: 65.67 kB / 0.7485 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.005864, allocations: 55.34 kB / 0.7485 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.296e-05/0.005947, allocations: 140.9 kB / 0.7486 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.005962, allocations: 29.69 kB / 0.7487 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.7e-05/0.005999, allocations: 96.08 kB / 0.7488 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.006015, allocations: 31.77 kB / 0.7488 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.00605, allocations: 30.66 kB / 0.7488 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.006118, allocations: 318.8 kB / 0.7491 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.006149, allocations: 40.53 kB / 0.7492 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.006175, allocations: 38.53 kB / 0.7492 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.605e-05/0.006231, allocations: 76.17 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.006232, allocations: 0.5 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.633e-05/0.006318, allocations: 130.2 kB / 0.7494 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.006342, allocations: 29.81 kB / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.006347, allocations: 7.938 kB / 0.7494 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.006351, allocations: 0 / 0.7494 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.863e-05/0.006419, allocations: 25.22 kB / 0.7495 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-06/0.00642, allocations: 0 / 0.7495 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.00647, allocations: 20.66 kB / 0.7495 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.006476, allocations: 0 / 0.7495 GB, free: 14.02 MB / 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.137e-05/0.006528, allocations: 117.3 kB / 0.7496 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.006539, allocations: 13.11 kB / 0.7496 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.006562, allocations: 12.78 kB / 0.7496 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.006572, allocations: 4 kB / 0.7496 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006573, allocations: 4.875 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.006578, allocations: 7.984 kB / 0.7496 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.388e-05/0.006652, allocations: 89.8 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.006652, allocations: 0.9062 kB / 0.7497 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.006687, allocations: 15.98 kB / 0.7497 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.006699, allocations: 16.56 kB / 0.7497 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006701, allocations: 5.484 kB / 0.7497 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006708, allocations: 4 kB / 0.7498 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006708, allocations: 0 / 0.7498 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.006709, allocations: 0 / 0.7498 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.528e-05/0.006804, allocations: 90.69 kB / 0.7498 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.00682, allocations: 8.531 kB / 0.7498 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.00686, allocations: 17.11 kB / 0.7499 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.006898, allocations: 7.969 kB / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.006903, allocations: 4 kB / 0.7499 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.245e-05/0.006925, allocations: 26.56 kB / 0.7499 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006925, allocations: 0 / 0.7499 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001285/0.007054, allocations: 43.92 kB / 0.7499 GB, free: 13.5 MB / 0.7292 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.0001133/0.007167, allocations: 105.2 kB / 0.75 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.007289, allocations: 117.9 kB / 0.7502 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.007297, allocations: 12.8 kB / 0.7502 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.354e-05/0.007331, allocations: 20.84 kB / 0.7502 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.52e-05/0.007426, allocations: 31.41 kB / 0.7502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008166/0.008242, allocations: 238.5 kB / 0.7504 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.293e-05/0.008275, allocations: 65.55 kB / 0.7505 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.008314, allocations: 8.641 kB / 0.7505 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.691e-05/0.008381, allocations: 59.36 kB / 0.7506 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.008382, allocations: 0.9688 kB / 0.7506 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of Templates: time 0.002782/0.01116, allocations: 1.504 MB / 0.752 GB, free: 11.34 MB / 0.7292 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8405669601634145]