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.0008823/0.0008823, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.0009256/0.0009256, allocations: 169 kB / 23.02 MB, free: 1.543 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.9387/0.9387, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002418/0.002418, allocations: 234.2 kB / 260.2 MB, free: 12.84 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.6877/0.6877, allocations: 138.4 MB / 455.2 MB, free: 1.539 MB / 362.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 2.094e-06/2.094e-06, allocations: 0 / 0.5551 GB, free: 0.582 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.977e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002038/0.002057, allocations: 1.587 MB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008356/0.002893, allocations: 0.631 MB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/0.002963, allocations: 3.938 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003066, allocations: 11.92 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.888e-05/0.003115, allocations: 23.8 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.003524, allocations: 107.6 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.003707, allocations: 103.6 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.003805, allocations: 12.23 kB / 0.5575 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.003981, allocations: 71.73 kB / 0.5576 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.004049, allocations: 35.89 kB / 0.5576 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.004069, allocations: 8 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.004196, allocations: 95.83 kB / 0.5577 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.004245, allocations: 19.92 kB / 0.5577 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.004301, allocations: 23.98 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.004509, allocations: 151.5 kB / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004511, allocations: 0 / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.004512, allocations: 0 / 0.5579 GB, free: 13.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.004517, allocations: 0 / 0.5579 GB, free: 13.68 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.0005933/0.00511, allocations: 477.8 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.005151, allocations: 12.75 kB / 0.5583 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.005322, allocations: 40.81 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005483, allocations: 144.5 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.005493, allocations: 4.359 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.005509, allocations: 4.375 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.005675, allocations: 90.78 kB / 0.5586 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.005684, allocations: 192 / 0.5586 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.005698, allocations: 4.375 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.005724, allocations: 7.938 kB / 0.5586 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.886e-05/0.005773, allocations: 15.98 kB / 0.5586 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.006177, allocations: 327.5 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.54e-05/0.006262, allocations: 43.05 kB / 0.559 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.006302, allocations: 27.67 kB / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.006316, allocations: 0 / 0.559 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.006424, allocations: 73.03 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.006425, allocations: 3.938 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002201/0.006645, allocations: 97.56 kB / 0.5592 GB, free: 12.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.006679, allocations: 59.34 kB / 0.5592 GB, free: 12.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.006775, allocations: 196.5 kB / 0.5594 GB, free: 11.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.006788, allocations: 25.7 kB / 0.5595 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.006848, allocations: 150.8 kB / 0.5596 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.006867, allocations: 31.78 kB / 0.5596 GB, free: 11.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.006912, allocations: 35.42 kB / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.007022, allocations: 0.4961 MB / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.939e-05/0.007071, allocations: 37.7 kB / 0.5602 GB, free: 11.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.007106, allocations: 41.69 kB / 0.5602 GB, free: 11.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.007178, allocations: 73.42 kB / 0.5603 GB, free: 10.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.00718, allocations: 0 / 0.5603 GB, free: 10.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000141/0.007321, allocations: 157 kB / 0.5604 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.007349, allocations: 29.7 kB / 0.5605 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007354, allocations: 0 / 0.5605 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.007364, allocations: 8 kB / 0.5605 GB, free: 10.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.007442, allocations: 15.98 kB / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.007452, allocations: 0 / 0.5605 GB, free: 10.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.493e-05/0.007507, allocations: 11.98 kB / 0.5605 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.007517, allocations: 8 kB / 0.5605 GB, free: 10.72 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 7.145e-05/0.007589, allocations: 165 kB / 0.5607 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.007605, allocations: 15.89 kB / 0.5607 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.007627, allocations: 20.72 kB / 0.5607 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.007636, allocations: 4 kB / 0.5607 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.007639, allocations: 7.984 kB / 0.5607 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007642, allocations: 0 / 0.5607 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.007817, allocations: 148.5 kB / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007819, allocations: 0 / 0.5609 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.007854, allocations: 11.98 kB / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007856, allocations: 0 / 0.5609 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.007865, allocations: 4 kB / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.007867, allocations: 4 kB / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.007867, allocations: 0 / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.007987, allocations: 124.2 kB / 0.561 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.008001, allocations: 19.89 kB / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.008017, allocations: 4 kB / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.008057, allocations: 8 kB / 0.561 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.008106, allocations: 15.97 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.008111, allocations: 3.938 kB / 0.561 GB, free: 10.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.901e-05/0.00816, allocations: 147.2 kB / 0.5612 GB, free: 9.969 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00816, allocations: 0 / 0.5612 GB, free: 9.969 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.008326, allocations: 39.94 kB / 0.5612 GB, free: 9.93 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.0001336/0.008459, allocations: 115.2 kB / 0.5613 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.008638, allocations: 144.7 kB / 0.5615 GB, free: 9.641 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.00864, allocations: 0 / 0.5615 GB, free: 9.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.008684, allocations: 27.67 kB / 0.5615 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.008839, allocations: 18.34 kB / 0.5615 GB, free: 9.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.009378, allocations: 226.5 kB / 0.5617 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.543e-05/0.009413, allocations: 67.34 kB / 0.5618 GB, free: 9.254 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.359e-05/0.009457, allocations: 11.98 kB / 0.5618 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.009498, allocations: 12.5 kB / 0.5618 GB, free: 9.227 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.009499, allocations: 0 / 0.5618 GB, free: 9.227 MB / 490.7 MB Notification: Performance of Templates: time 0.003224/0.01272, allocations: 1.509 MB / 0.5633 GB, free: 7.738 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.679351896047592]