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.001346/0.001346, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 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.001488/0.001488, allocations: 208.3 kB / 22.99 MB, free: 4.965 MB / 14.72 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 1.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.002524/0.002524, allocations: 287.2 kB / 313.5 MB, free: 2.617 MB / 238.1 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 1.429/1.429, allocations: 180.6 MB / 0.5377 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 178] 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003002/0.003002, allocations: 99.22 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2453, allocations: 95.39 MB / 0.8338 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.003439/0.2487, allocations: 1.553 MB / 0.8354 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2501, allocations: 0.6054 MB / 0.8359 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.2502, allocations: 3.938 kB / 0.8359 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.2503, allocations: 7.875 kB / 0.836 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.243e-05/0.2503, allocations: 19.84 kB / 0.836 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.2508, allocations: 111.7 kB / 0.8361 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.251, allocations: 99.64 kB / 0.8362 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.2512, allocations: 8.234 kB / 0.8362 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.2514, allocations: 59.81 kB / 0.8362 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2515, allocations: 43.78 kB / 0.8363 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.2515, allocations: 4 kB / 0.8363 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.2517, allocations: 95.89 kB / 0.8364 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.2517, allocations: 19.92 kB / 0.8364 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.2518, allocations: 35.78 kB / 0.8364 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.2521, allocations: 155.4 kB / 0.8366 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2521, allocations: 0 / 0.8366 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2521, allocations: 4 kB / 0.8366 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.892e-06/0.2521, allocations: 0 / 0.8366 GB, free: 4.914 MB / 0.5762 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.0008708/0.253, allocations: 391.4 kB / 0.837 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.253, allocations: 9.344 kB / 0.837 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.2533, allocations: 28.88 kB / 0.837 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.2536, allocations: 141 kB / 0.8371 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.2536, allocations: 8.375 kB / 0.8371 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.2536, allocations: 8.375 kB / 0.8371 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.254, allocations: 105.9 kB / 0.8372 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.254, allocations: 0 / 0.8372 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.254, allocations: 4 kB / 0.8372 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.254, allocations: 7.984 kB / 0.8373 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000323/0.2543, allocations: 83.92 kB / 0.8373 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.255, allocations: 292.2 kB / 0.8376 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.2553, allocations: 86.5 kB / 0.8377 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.2555, allocations: 52.88 kB / 0.8377 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.2555, allocations: 4 kB / 0.8378 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.2558, allocations: 115.3 kB / 0.8379 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.2558, allocations: 0 / 0.8379 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006927/0.2565, allocations: 209.4 kB / 0.8381 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.2566, allocations: 51.41 kB / 0.8381 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2567, allocations: 141.8 kB / 0.8382 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2568, allocations: 29.7 kB / 0.8383 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.2568, allocations: 104 kB / 0.8384 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.2569, allocations: 31.86 kB / 0.8384 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.2569, allocations: 25.72 kB / 0.8384 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.2571, allocations: 326.8 kB / 0.8387 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.2573, allocations: 85.64 kB / 0.8388 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.2575, allocations: 85.66 kB / 0.8389 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.2579, allocations: 146.5 kB / 0.839 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2579, allocations: 0 / 0.839 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004985/0.2584, allocations: 232.9 kB / 0.8393 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.2584, allocations: 29.7 kB / 0.8393 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.2585, allocations: 4 kB / 0.8393 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.2585, allocations: 4.469 kB / 0.8393 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.2586, allocations: 23.97 kB / 0.8393 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2586, allocations: 0 / 0.8393 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.2588, allocations: 23.88 kB / 0.8393 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2588, allocations: 3.938 kB / 0.8393 GB, free: 1.863 MB / 0.5762 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 0.0001288/0.2589, allocations: 130.4 kB / 0.8395 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/0.2589, allocations: 7.953 kB / 0.8395 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.259, allocations: 16.72 kB / 0.8395 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.259, allocations: 11.98 kB / 0.8395 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.259, allocations: 0 / 0.8395 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.259, allocations: 0 / 0.8395 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2592, allocations: 137.2 kB / 0.8396 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2592, allocations: 4 kB / 0.8396 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.2593, allocations: 15.98 kB / 0.8397 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2593, allocations: 3.984 kB / 0.8397 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.2593, allocations: 0 / 0.8397 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2593, allocations: 0 / 0.8397 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2593, allocations: 0 / 0.8397 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004558/0.2598, allocations: 196.8 kB / 0.8399 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.2598, allocations: 7.953 kB / 0.8399 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.2598, allocations: 0 / 0.8399 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.2599, allocations: 15.97 kB / 0.8399 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.26, allocations: 11.98 kB / 0.8399 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.26, allocations: 4 kB / 0.8399 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.876e-05/0.2601, allocations: 114.2 kB / 0.84 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2601, allocations: 4 kB / 0.84 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002616/0.2604, allocations: 39.94 kB / 0.84 GB, free: 1.094 MB / 0.5762 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 0.0001938/0.2606, allocations: 119.2 kB / 0.8402 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005367/0.2611, allocations: 208.9 kB / 0.8404 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2611, allocations: 0 / 0.8404 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.2613, allocations: 67.94 kB / 0.8404 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.2615, allocations: 4.188 kB / 0.8404 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.2622, allocations: 268.4 kB / 0.8407 GB, free: 392 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.2623, allocations: 85.31 kB / 0.8408 GB, free: 288 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.2623, allocations: 11.44 kB / 0.8408 GB, free: 276 kB / 0.5762 GB Notification: Performance of SimCode: time 6.61e-07/0.2623, allocations: 4 kB / 0.8408 GB, free: 272 kB / 0.5762 GB Notification: Performance of Templates: time 0.004185/0.2665, allocations: 1.581 MB / 0.8423 GB, free: 14.69 MB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.538522712886333] Failed to read output from testmodel.py, exit status != 0: 0.27500247163698077 0.29025776299999995 0.035112184000000005 Calling exit ...