Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007517/0.0007517, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001006/0.001758, allocations: 447.8 kB / 10.34 MB, free: 352 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.0007332/0.0007332, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009823/0.001716, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.8876/0.8876, allocations: 177.1 MB / 189.6 MB, free: 3.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.154/1.042, allocations: 53.65 MB / 243.2 MB, free: 2.371 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6089/0.6089, allocations: 119.1 MB / 363 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06216/0.671, allocations: 37.86 MB / 400.9 MB, free: 15.31 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 402.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.406e-05, allocations: 9.828 kB / 402.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003011/0.003035, allocations: 1.634 MB / 403.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.004382, allocations: 0.6464 MB / 404.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.9e-05/0.004471, allocations: 0 / 404.5 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 9.464e-05/0.004566, allocations: 7.875 kB / 404.5 MB, free: 11.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.004632, allocations: 19.8 kB / 404.5 MB, free: 11.71 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005382/0.00517, allocations: 99.62 kB / 404.6 MB, free: 11.62 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.005395, allocations: 99.64 kB / 404.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.005504, allocations: 12.22 kB / 404.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002878/0.005792, allocations: 83.75 kB / 404.8 MB, free: 11.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.005886, allocations: 31.95 kB / 404.8 MB, free: 11.39 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.005911, allocations: 8 kB / 404.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.006132, allocations: 107.8 kB / 404.9 MB, free: 11.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.006184, allocations: 15.94 kB / 404.9 MB, free: 11.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.006226, allocations: 19.94 kB / 405 MB, free: 11.24 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.006461, allocations: 119.7 kB / 405.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-05/0.006479, allocations: 3.938 kB / 405.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.00648, allocations: 0 / 405.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.006497, allocations: 4 kB / 405.1 MB, free: 11.12 MB / 394.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.0006602/0.007157, allocations: 369.8 kB / 405.4 MB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.007196, allocations: 19.83 kB / 405.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.007542, allocations: 110 kB / 405.6 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.007702, allocations: 136.5 kB / 405.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.007713, allocations: 8.359 kB / 405.7 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.007725, allocations: 8.375 kB / 405.7 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.007862, allocations: 89.66 kB / 405.8 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.007868, allocations: 4.188 kB / 405.8 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.007875, allocations: 384 / 405.8 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.007898, allocations: 11.92 kB / 405.8 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.00793, allocations: 11.98 kB / 405.8 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.008205, allocations: 209.8 kB / 406 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.889e-05/0.008274, allocations: 70.42 kB / 406.1 MB, free: 9.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.382e-05/0.008298, allocations: 16.84 kB / 406.1 MB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.008308, allocations: 0 / 406.1 MB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.883e-05/0.008407, allocations: 86.25 kB / 406.2 MB, free: 9.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 8.11e-07/0.008408, allocations: 0 / 406.2 MB, free: 9.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001173/0.008525, allocations: 69.61 kB / 406.3 MB, free: 9.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.008554, allocations: 51.41 kB / 406.3 MB, free: 9.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.008637, allocations: 145.5 kB / 406.5 MB, free: 9.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.008651, allocations: 29.7 kB / 406.5 MB, free: 9.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.008692, allocations: 99.92 kB / 406.6 MB, free: 9.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.008708, allocations: 31.73 kB / 406.6 MB, free: 9.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.008747, allocations: 29.69 kB / 406.7 MB, free: 9.375 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.008818, allocations: 318.8 kB / 407 MB, free: 9.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.618e-05/0.008854, allocations: 44.52 kB / 407 MB, free: 9.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.854e-05/0.008883, allocations: 45.73 kB / 407.1 MB, free: 8.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.509e-05/0.008938, allocations: 69.44 kB / 407.1 MB, free: 8.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008939, allocations: 0 / 407.1 MB, free: 8.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.927e-05/0.009029, allocations: 129 kB / 407.2 MB, free: 8.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.009061, allocations: 33.7 kB / 407.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.009066, allocations: 0 / 407.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.009073, allocations: 0 / 407.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.009148, allocations: 27.91 kB / 407.3 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.00915, allocations: 0 / 407.3 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.009202, allocations: 19.95 kB / 407.3 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.00921, allocations: 3.984 kB / 407.3 MB, free: 8.641 MB / 394.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.441e-05/0.009275, allocations: 112.7 kB / 407.4 MB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.009288, allocations: 15.92 kB / 407.5 MB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.009312, allocations: 12.78 kB / 407.5 MB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.009321, allocations: 4 kB / 407.5 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.009323, allocations: 0 / 407.5 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.009326, allocations: 0 / 407.5 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.861e-05/0.009404, allocations: 93.78 kB / 407.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.009405, allocations: 0 / 407.6 MB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.009441, allocations: 19.98 kB / 407.6 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.009451, allocations: 7.891 kB / 407.6 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.009454, allocations: 4 kB / 407.6 MB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.009461, allocations: 7.984 kB / 407.6 MB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.009463, allocations: 7.938 kB / 407.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009464, allocations: 3.938 kB / 407.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.682e-05/0.009551, allocations: 90.75 kB / 407.7 MB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.009566, allocations: 3.938 kB / 407.7 MB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.009605, allocations: 15.98 kB / 407.7 MB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.009641, allocations: 11.97 kB / 407.7 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.009645, allocations: 4 kB / 407.7 MB, free: 8.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.211e-05/0.009667, allocations: 32.83 kB / 407.8 MB, free: 8.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009667, allocations: 0 / 407.8 MB, free: 8.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001428/0.00981, allocations: 35.94 kB / 407.8 MB, free: 8.109 MB / 394.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.0001174/0.009927, allocations: 108.2 kB / 407.9 MB, free: 8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001143/0.01004, allocations: 125.2 kB / 408 MB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.01005, allocations: 4 kB / 408 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.01009, allocations: 32.77 kB / 408.1 MB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.231e-05/0.01018, allocations: 24.58 kB / 408.1 MB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.01098, allocations: 234.6 kB / 408.3 MB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.01101, allocations: 63.34 kB / 408.4 MB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.839e-05/0.01105, allocations: 11.98 kB / 408.4 MB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.01111, allocations: 59.36 kB / 408.5 MB, free: 7.383 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01111, allocations: 0 / 408.5 MB, free: 7.383 MB / 394.7 MB Notification: Performance of Templates: time 0.003229/0.01434, allocations: 1.499 MB / 410 MB, free: 5.895 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.123644250445068]