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.0009341/0.0009341, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009263/0.0009263, allocations: 169 kB / 24.06 MB, free: 452 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 0.8945/0.8945, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001677/0.001677, allocations: 242.8 kB / 261.3 MB, free: 12.66 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.6962/0.6962, allocations: 138.4 MB / 456.3 MB, free: 1.367 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 1.092e-06/1.092e-06, allocations: 0 / 0.5563 GB, free: 284 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.355e-05, allocations: 5.828 kB / 0.5563 GB, free: 280 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001756/0.00177, allocations: 1.595 MB / 0.5579 GB, free: 14.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.002498, allocations: 0.6231 MB / 0.5585 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.002552, allocations: 4 kB / 0.5585 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.797e-05/0.00264, allocations: 11.86 kB / 0.5585 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.00268, allocations: 15.81 kB / 0.5585 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003286/0.003009, allocations: 123.6 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003123, allocations: 95.64 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.705e-05/0.0032, allocations: 8.234 kB / 0.5587 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.00333, allocations: 71.73 kB / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.003388, allocations: 35.95 kB / 0.5588 GB, free: 13.67 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003404, allocations: 8 kB / 0.5588 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.003507, allocations: 103.8 kB / 0.5589 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.003542, allocations: 19.92 kB / 0.559 GB, free: 13.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.003574, allocations: 27.91 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.00373, allocations: 135.6 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003732, allocations: 8 kB / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003733, allocations: 0 / 0.5591 GB, free: 13.38 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.926e-06/0.003736, allocations: 0 / 0.5591 GB, free: 13.38 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.0004325/0.004168, allocations: 481.7 kB / 0.5596 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.78e-05/0.004196, allocations: 12.75 kB / 0.5596 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.004342, allocations: 40.81 kB / 0.5596 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004461, allocations: 132.5 kB / 0.5598 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.00447, allocations: 8.359 kB / 0.5598 GB, free: 12.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004481, allocations: 12.3 kB / 0.5598 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.004601, allocations: 78.91 kB / 0.5599 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.00461, allocations: 8.109 kB / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004619, allocations: 4.375 kB / 0.5599 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.004636, allocations: 7.938 kB / 0.5599 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.00467, allocations: 15.98 kB / 0.5599 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.004972, allocations: 300.2 kB / 0.5602 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.005033, allocations: 35 kB / 0.5602 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.005058, allocations: 23.73 kB / 0.5602 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.005068, allocations: 0 / 0.5602 GB, free: 12.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.86e-05/0.005167, allocations: 81.02 kB / 0.5603 GB, free: 12.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 9.81e-07/0.005168, allocations: 0 / 0.5603 GB, free: 12.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001594/0.005327, allocations: 93.52 kB / 0.5604 GB, free: 11.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.005352, allocations: 55.41 kB / 0.5605 GB, free: 11.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.00543, allocations: 200.8 kB / 0.5606 GB, free: 11.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.005443, allocations: 25.7 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.005492, allocations: 142.8 kB / 0.5608 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.005512, allocations: 31.77 kB / 0.5608 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.005551, allocations: 35.34 kB / 0.5609 GB, free: 11.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.436e-05/0.005645, allocations: 0.4923 MB / 0.5614 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.005678, allocations: 37.69 kB / 0.5614 GB, free: 10.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.005707, allocations: 41.64 kB / 0.5614 GB, free: 10.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.005765, allocations: 65.36 kB / 0.5615 GB, free: 10.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005767, allocations: 4.047 kB / 0.5615 GB, free: 10.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001253/0.005892, allocations: 153 kB / 0.5616 GB, free: 10.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.005913, allocations: 33.7 kB / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.005917, allocations: 0 / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.005924, allocations: 7.922 kB / 0.5617 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.005996, allocations: 19.98 kB / 0.5617 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.005998, allocations: 0 / 0.5617 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.006055, allocations: 8 kB / 0.5617 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.006064, allocations: 3.984 kB / 0.5617 GB, free: 10.48 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.46e-05/0.006128, allocations: 168.5 kB / 0.5619 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.006144, allocations: 19.91 kB / 0.5619 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.006164, allocations: 8.781 kB / 0.5619 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.006174, allocations: 7.984 kB / 0.5619 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006176, allocations: 0 / 0.5619 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.006178, allocations: 0 / 0.5619 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.172e-05/0.00626, allocations: 121.2 kB / 0.562 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006261, allocations: 0 / 0.562 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.006298, allocations: 15.98 kB / 0.562 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.006301, allocations: 7.938 kB / 0.562 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.006431, allocations: 3.984 kB / 0.562 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006432, allocations: 7.938 kB / 0.5621 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.006432, allocations: 0 / 0.5621 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.00654, allocations: 116.4 kB / 0.5622 GB, free: 9.961 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.175e-05/0.006552, allocations: 11.84 kB / 0.5622 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.006567, allocations: 7.938 kB / 0.5622 GB, free: 9.941 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.223e-05/0.006609, allocations: 11.98 kB / 0.5622 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.006644, allocations: 11.97 kB / 0.5622 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.00665, allocations: 7.938 kB / 0.5622 GB, free: 9.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/0.00669, allocations: 142 kB / 0.5623 GB, free: 9.773 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00669, allocations: 0 / 0.5623 GB, free: 9.773 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.006846, allocations: 47.92 kB / 0.5624 GB, free: 9.727 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 9.912e-05/0.006945, allocations: 111.2 kB / 0.5625 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001252/0.00707, allocations: 129.2 kB / 0.5626 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.41e-07/0.007071, allocations: 0 / 0.5626 GB, free: 9.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.007111, allocations: 35.66 kB / 0.5627 GB, free: 9.418 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.007247, allocations: 16.11 kB / 0.5627 GB, free: 9.402 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.007651, allocations: 226.5 kB / 0.5629 GB, free: 9.148 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.067e-05/0.007682, allocations: 67.28 kB / 0.563 GB, free: 9.062 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.742e-05/0.007719, allocations: 11.97 kB / 0.563 GB, free: 9.051 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.007785, allocations: 86.19 kB / 0.563 GB, free: 8.965 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.007786, allocations: 0 / 0.563 GB, free: 8.965 MB / 490.7 MB Notification: Performance of Templates: time 0.00287/0.01066, allocations: 1.659 MB / 0.5647 GB, free: 7.32 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.303310399875045]