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.001423/0.001423, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001684/0.001684, allocations: 174.9 kB / 25.05 MB, free: 8.73 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.9735/0.9735, allocations: 177.1 MB / 205.5 MB, free: 5.469 MB / 186.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.858/1.858, allocations: 389.6 MB / 0.6363 GB, free: 12.26 MB / 0.6042 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.362e-06/1.362e-06, allocations: 0 / 0.7761 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.58e-05, allocations: 4.422 kB / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001837/0.001853, allocations: 1.649 MB / 0.7777 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007632/0.002616, allocations: 0.6304 MB / 0.7783 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.002668, allocations: 0 / 0.7783 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.227e-05/0.00276, allocations: 12.52 kB / 0.7783 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.002807, allocations: 20.25 kB / 0.7783 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.00311, allocations: 97.7 kB / 0.7784 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.003239, allocations: 109.7 kB / 0.7785 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.115e-05/0.00331, allocations: 8.219 kB / 0.7785 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.003443, allocations: 72.36 kB / 0.7786 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.003502, allocations: 37.41 kB / 0.7786 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.003518, allocations: 4 kB / 0.7787 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.003643, allocations: 111.8 kB / 0.7788 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.003675, allocations: 19.86 kB / 0.7788 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.003704, allocations: 24.58 kB / 0.7788 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.003862, allocations: 152.2 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003864, allocations: 0 / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003864, allocations: 5.188 kB / 0.779 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003867, allocations: 0 / 0.779 GB, free: 2.406 MB / 0.7292 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.0003725/0.00424, allocations: 351.3 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.004269, allocations: 9.344 kB / 0.7793 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.004405, allocations: 33.84 kB / 0.7793 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.004526, allocations: 138.6 kB / 0.7795 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.004533, allocations: 9.281 kB / 0.7795 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.004545, allocations: 8.359 kB / 0.7795 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004667, allocations: 91.31 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.004673, allocations: 4.125 kB / 0.7796 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.004681, allocations: 384 / 0.7796 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.004697, allocations: 7.938 kB / 0.7796 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.348e-05/0.004731, allocations: 20.61 kB / 0.7796 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.004983, allocations: 203.7 kB / 0.7798 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.638e-05/0.00505, allocations: 74.47 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.00507, allocations: 12.86 kB / 0.7799 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.005083, allocations: 3.938 kB / 0.7799 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.417e-05/0.005177, allocations: 79.12 kB / 0.78 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.005178, allocations: 0 / 0.78 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0001188/0.005297, allocations: 70.45 kB / 0.78 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.005324, allocations: 59.31 kB / 0.7801 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.005392, allocations: 149.4 kB / 0.7802 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005404, allocations: 25.7 kB / 0.7802 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.005441, allocations: 100 kB / 0.7803 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.005457, allocations: 23.8 kB / 0.7804 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.005491, allocations: 29.69 kB / 0.7804 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.005561, allocations: 326.8 kB / 0.7807 GB, free: 480 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.005593, allocations: 36.53 kB / 0.7807 GB, free: 436 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/0.005621, allocations: 45.62 kB / 0.7808 GB, free: 384 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.005676, allocations: 72.12 kB / 0.7808 GB, free: 300 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.005677, allocations: 2.812 kB / 0.7809 GB, free: 300 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.274e-05/0.00577, allocations: 129.1 kB / 0.781 GB, free: 152 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.005793, allocations: 33.69 kB / 0.781 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.005797, allocations: 0 / 0.781 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.831e-06/0.005803, allocations: 0 / 0.781 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.005866, allocations: 23.98 kB / 0.781 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.005868, allocations: 0 / 0.781 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.013e-05/0.005919, allocations: 16.94 kB / 0.781 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.005927, allocations: 4 kB / 0.781 GB, free: 68 kB / 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 6.926e-05/0.005996, allocations: 122 kB / 0.7812 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.00601, allocations: 15.92 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.729e-05/0.006027, allocations: 8.781 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.006036, allocations: 7.984 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.006037, allocations: 0.875 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.00604, allocations: 0 / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.585e-05/0.006116, allocations: 82.75 kB / 0.7813 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006117, allocations: 0 / 0.7813 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.006152, allocations: 16.55 kB / 0.7813 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006155, allocations: 3.938 kB / 0.7813 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.006162, allocations: 9.422 kB / 0.7813 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.006163, allocations: 0 / 0.7813 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.006165, allocations: 4 kB / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.297e-05/0.006248, allocations: 95.91 kB / 0.7814 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.006259, allocations: 15.84 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.006273, allocations: 3.938 kB / 0.7814 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.924e-05/0.006312, allocations: 16.48 kB / 0.7814 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.006346, allocations: 12.59 kB / 0.7814 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.00635, allocations: 0 / 0.7814 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.273e-05/0.006373, allocations: 35.95 kB / 0.7815 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006373, allocations: 0 / 0.7815 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001235/0.006497, allocations: 35.98 kB / 0.7815 GB, free: 15.55 MB / 0.7448 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 9.92e-05/0.006596, allocations: 105.4 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.006706, allocations: 126.8 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.006709, allocations: 4 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.006745, allocations: 29.28 kB / 0.7818 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.077e-05/0.006826, allocations: 20.8 kB / 0.7818 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.007221, allocations: 216.6 kB / 0.782 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.007252, allocations: 68.28 kB / 0.7821 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.00729, allocations: 15.25 kB / 0.7821 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.007349, allocations: 59.36 kB / 0.7821 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.007349, allocations: 0 / 0.7821 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.002818/0.01017, allocations: 1.489 MB / 0.7836 GB, free: 13.42 MB / 0.7448 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.758129987865686]