Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008935/0.0008935, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001673/0.001673, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9263/0.9263, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001839/0.001839, allocations: 241.5 kB / 260.5 MB, free: 12.65 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7153/0.7153, allocations: 138.4 MB / 455.5 MB, free: 30.07 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5555 GB, free: 15.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.318e-05, allocations: 5.969 kB / 0.5555 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001703/0.001716, allocations: 1.585 MB / 0.5571 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.002455, allocations: 0.627 MB / 0.5577 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.924e-05/0.002514, allocations: 3.938 kB / 0.5577 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.598e-05/0.0026, allocations: 7.922 kB / 0.5577 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.002643, allocations: 19.8 kB / 0.5577 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.002991, allocations: 111.6 kB / 0.5578 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.003107, allocations: 107.6 kB / 0.5579 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.702e-05/0.003184, allocations: 8.234 kB / 0.5579 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.003328, allocations: 79.73 kB / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.003416, allocations: 35.91 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.003433, allocations: 4 kB / 0.5581 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.003543, allocations: 95.89 kB / 0.5581 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.003577, allocations: 19.92 kB / 0.5582 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.003608, allocations: 27.91 kB / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.003766, allocations: 143.5 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003768, allocations: 0 / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003768, allocations: 4 kB / 0.5583 GB, free: 13.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.003771, allocations: 0 / 0.5583 GB, free: 13.02 MB / 490.7 MB 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.0004291/0.0042, allocations: 485.7 kB / 0.5588 GB, free: 12.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.004231, allocations: 9.938 kB / 0.5588 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.004373, allocations: 32.86 kB / 0.5588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.004492, allocations: 145.3 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.0045, allocations: 4.375 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.004511, allocations: 4.375 kB / 0.559 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.004633, allocations: 88.58 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004639, allocations: 4.188 kB / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.004647, allocations: 384 / 0.5591 GB, free: 12.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.004665, allocations: 7.938 kB / 0.5591 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.004696, allocations: 11.98 kB / 0.5591 GB, free: 12.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.005011, allocations: 312.2 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.033e-05/0.005072, allocations: 39.03 kB / 0.5594 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.005095, allocations: 15.69 kB / 0.5594 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.005107, allocations: 4.062 kB / 0.5594 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/0.005208, allocations: 76.95 kB / 0.5595 GB, free: 11.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.005209, allocations: 4 kB / 0.5595 GB, free: 11.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001537/0.005363, allocations: 89.62 kB / 0.5596 GB, free: 11.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.005386, allocations: 51.41 kB / 0.5597 GB, free: 11.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.005537, allocations: 209.5 kB / 0.5599 GB, free: 11.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.005549, allocations: 25.7 kB / 0.5599 GB, free: 11.26 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.005602, allocations: 147 kB / 0.56 GB, free: 11.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.00562, allocations: 35.67 kB / 0.5601 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.00566, allocations: 35.34 kB / 0.5601 GB, free: 11.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005761, allocations: 0.4923 MB / 0.5606 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.005793, allocations: 37.69 kB / 0.5606 GB, free: 10.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.00582, allocations: 41.7 kB / 0.5606 GB, free: 10.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.752e-05/0.005877, allocations: 62.56 kB / 0.5607 GB, free: 10.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.00588, allocations: 3.938 kB / 0.5607 GB, free: 10.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001195/0.005999, allocations: 148.9 kB / 0.5609 GB, free: 10.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.006022, allocations: 36.5 kB / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006026, allocations: 80 / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.006035, allocations: 4 kB / 0.5609 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.006107, allocations: 19.98 kB / 0.5609 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006111, allocations: 3.984 kB / 0.5609 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.006163, allocations: 11.98 kB / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.006172, allocations: 8 kB / 0.5609 GB, free: 10.12 MB / 490.7 MB 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 6.672e-05/0.006239, allocations: 160.5 kB / 0.5611 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.006252, allocations: 15.89 kB / 0.5611 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.006275, allocations: 16.77 kB / 0.5611 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.006283, allocations: 7.938 kB / 0.5611 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.006284, allocations: 0 / 0.5611 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006287, allocations: 0 / 0.5611 GB, free: 9.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.833e-05/0.006375, allocations: 129.1 kB / 0.5612 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006377, allocations: 0 / 0.5612 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.00641, allocations: 19.98 kB / 0.5613 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.006412, allocations: 3.938 kB / 0.5613 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.006418, allocations: 0 / 0.5613 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.006419, allocations: 0 / 0.5613 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006419, allocations: 0 / 0.5613 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.006529, allocations: 112.8 kB / 0.5614 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.006541, allocations: 15.89 kB / 0.5614 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.006555, allocations: 3.984 kB / 0.5614 GB, free: 9.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.006595, allocations: 8 kB / 0.5614 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.006633, allocations: 19.95 kB / 0.5614 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.006639, allocations: 4 kB / 0.5614 GB, free: 9.551 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.006681, allocations: 143.2 kB / 0.5616 GB, free: 9.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006681, allocations: 4 kB / 0.5616 GB, free: 9.406 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001565/0.006837, allocations: 39.94 kB / 0.5616 GB, free: 9.367 MB / 490.7 MB 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.0001035/0.006941, allocations: 115.2 kB / 0.5617 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.007068, allocations: 136.7 kB / 0.5618 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.007069, allocations: 0 / 0.5618 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.007107, allocations: 27.84 kB / 0.5619 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.007244, allocations: 29.28 kB / 0.5619 GB, free: 9.027 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.007654, allocations: 214.6 kB / 0.5621 GB, free: 8.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.007685, allocations: 63.34 kB / 0.5622 GB, free: 8.703 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.788e-05/0.007722, allocations: 15.77 kB / 0.5622 GB, free: 8.688 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.007788, allocations: 86.19 kB / 0.5623 GB, free: 8.602 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.007789, allocations: 0 / 0.5623 GB, free: 8.602 MB / 490.7 MB Notification: Performance of Templates: time 0.003066/0.01086, allocations: 1.63 MB / 0.5639 GB, free: 6.996 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4060026900842786]