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.00125/0.00125, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001973/0.003223, allocations: 449.8 kB / 10.44 MB, free: 252 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.001222/0.001222, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002689, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9842/0.9842, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09567/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.916/1.916, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4595/2.376, allocations: 127.1 MB / 0.7435 GB, free: 4.523 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.623e-06/1.623e-06, allocations: 0 / 0.7448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.555e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002882/0.002897, allocations: 1.661 MB / 0.7464 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004109, allocations: 0.6391 MB / 0.747 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.004179, allocations: 4 kB / 0.747 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.355e-05/0.004253, allocations: 11.86 kB / 0.747 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.004312, allocations: 15.92 kB / 0.747 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.004722, allocations: 100.7 kB / 0.7471 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.004913, allocations: 106.9 kB / 0.7472 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.005014, allocations: 17.48 kB / 0.7473 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.005227, allocations: 79.8 kB / 0.7473 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.00532, allocations: 27.91 kB / 0.7474 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.005345, allocations: 9.594 kB / 0.7474 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.005573, allocations: 107.8 kB / 0.7475 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.005623, allocations: 15.94 kB / 0.7475 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.005664, allocations: 19.94 kB / 0.7475 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.005886, allocations: 119.6 kB / 0.7476 GB, free: 388 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.005897, allocations: 0.5938 kB / 0.7476 GB, free: 388 kB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005898, allocations: 1.5 kB / 0.7476 GB, free: 388 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.005912, allocations: 0 / 0.7476 GB, free: 388 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.0006827/0.006595, allocations: 373.8 kB / 0.748 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.006632, allocations: 13 kB / 0.748 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.006901, allocations: 114.5 kB / 0.7481 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.007086, allocations: 138.2 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.007099, allocations: 4.375 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.007117, allocations: 1.031 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.007309, allocations: 94.19 kB / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.007317, allocations: 192 / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.00733, allocations: 5.906 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.007357, allocations: 7.938 kB / 0.7483 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.007412, allocations: 19.86 kB / 0.7484 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.007819, allocations: 199.8 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.007921, allocations: 78.41 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.007955, allocations: 16.92 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.007968, allocations: 0 / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.008112, allocations: 80.62 kB / 0.7487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.008114, allocations: 0 / 0.7487 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001782/0.008292, allocations: 73.61 kB / 0.7488 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.008325, allocations: 51.41 kB / 0.7488 GB, free: 15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.008432, allocations: 145.2 kB / 0.749 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.008453, allocations: 29.7 kB / 0.749 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.008504, allocations: 101.9 kB / 0.7491 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.008527, allocations: 19.8 kB / 0.7491 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.008579, allocations: 25.69 kB / 0.7491 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.008672, allocations: 322.8 kB / 0.7494 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.008728, allocations: 44.53 kB / 0.7495 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.008768, allocations: 38.44 kB / 0.7495 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.008861, allocations: 76.11 kB / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.008864, allocations: 2 kB / 0.7496 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001546/0.009019, allocations: 129.1 kB / 0.7497 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.009061, allocations: 37.69 kB / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.009067, allocations: 0 / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.00908, allocations: 0 / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.009197, allocations: 18.73 kB / 0.7498 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.009201, allocations: 7.938 kB / 0.7498 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.00929, allocations: 15.94 kB / 0.7498 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.009303, allocations: 0 / 0.7498 GB, free: 13.93 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 8.38e-05/0.009387, allocations: 120.7 kB / 0.7499 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.009408, allocations: 7.938 kB / 0.7499 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.00944, allocations: 23.83 kB / 0.7499 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.009452, allocations: 4 kB / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.009454, allocations: 0 / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009458, allocations: 0 / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.009581, allocations: 89.8 kB / 0.75 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.009585, allocations: 3.984 kB / 0.75 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.057e-05/0.009656, allocations: 15.97 kB / 0.7501 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.009672, allocations: 15.84 kB / 0.7501 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.009674, allocations: 0.625 kB / 0.7501 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.009684, allocations: 4.688 kB / 0.7501 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.009687, allocations: 4 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009688, allocations: 0.5312 kB / 0.7501 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.009824, allocations: 99.09 kB / 0.7502 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.009848, allocations: 12.55 kB / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.009916, allocations: 12.77 kB / 0.7502 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.009965, allocations: 7.984 kB / 0.7502 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.009973, allocations: 4.625 kB / 0.7502 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.404e-05/0.01001, allocations: 31.78 kB / 0.7502 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01001, allocations: 4 kB / 0.7502 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000226/0.01023, allocations: 39.94 kB / 0.7503 GB, free: 13.4 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.0001542/0.01039, allocations: 97.56 kB / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01056, allocations: 134.8 kB / 0.7505 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.01057, allocations: 3.984 kB / 0.7505 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.01064, allocations: 25.53 kB / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.0108, allocations: 80.97 kB / 0.7506 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.01202, allocations: 228.2 kB / 0.7508 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.01207, allocations: 71.28 kB / 0.7509 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.602e-05/0.01213, allocations: 14.75 kB / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.375e-05/0.01223, allocations: 67.36 kB / 0.751 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of SimCode: time 6.31e-07/0.01223, allocations: 0 / 0.751 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of Templates: time 0.003137/0.01537, allocations: 1.495 MB / 0.7524 GB, free: 11.17 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.778205959126353]