Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 190.2 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2894/0.2894, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") translateModel(Annex60.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 74.39 kB / 482 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.545, allocations: 62.87 MB / 0.5321 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.SignalRanker): time 0.003623/0.5486, allocations: 1.557 MB / 0.5336 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.5498, allocations: 0.5271 MB / 0.5342 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.5499, allocations: 5.156 kB / 0.5342 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.55, allocations: 11.78 kB / 0.5342 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.131e-05/0.5501, allocations: 16.09 kB / 0.5342 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.5505, allocations: 53.05 kB / 0.5342 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003093/0.5509, allocations: 114.6 kB / 0.5343 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.551, allocations: 19.78 kB / 0.5344 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.5512, allocations: 56.5 kB / 0.5344 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.5513, allocations: 48.2 kB / 0.5345 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.5514, allocations: 13 kB / 0.5345 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.723e-05/0.5514, allocations: 7.281 kB / 0.5345 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.5515, allocations: 22.23 kB / 0.5345 GB, free: 6.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.5516, allocations: 44.33 kB / 0.5345 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.5519, allocations: 104.5 kB / 0.5346 GB, free: 6.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5519, allocations: 0 / 0.5346 GB, free: 6.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5519, allocations: 0 / 0.5346 GB, free: 6.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.5519, allocations: 1.25 kB / 0.5346 GB, free: 6.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000973/0.5528, allocations: 407 kB / 0.535 GB, free: 5.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5529, allocations: 9.781 kB / 0.535 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.553, allocations: 14.09 kB / 0.5351 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.5532, allocations: 140.8 kB / 0.5352 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.5532, allocations: 11.84 kB / 0.5352 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.5532, allocations: 5.094 kB / 0.5352 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.5536, allocations: 138 kB / 0.5353 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5536, allocations: 1.062 kB / 0.5353 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.5537, allocations: 5.781 kB / 0.5353 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.5537, allocations: 1.031 kB / 0.5353 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.5541, allocations: 116.5 kB / 0.5355 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.5549, allocations: 324.3 kB / 0.5358 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.5553, allocations: 114.9 kB / 0.5359 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.5555, allocations: 86.11 kB / 0.536 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.5556, allocations: 2.312 kB / 0.536 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.556, allocations: 148.1 kB / 0.5361 GB, free: 5.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.556, allocations: 0 / 0.5361 GB, free: 5.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009028/0.5569, allocations: 326.3 kB / 0.5364 GB, free: 5.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.557, allocations: 95.48 kB / 0.5365 GB, free: 4.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.5571, allocations: 139.5 kB / 0.5366 GB, free: 4.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5571, allocations: 31.83 kB / 0.5367 GB, free: 4.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.5572, allocations: 99 kB / 0.5368 GB, free: 4.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.5572, allocations: 35.86 kB / 0.5368 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.5573, allocations: 30.73 kB / 0.5368 GB, free: 4.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.5574, allocations: 326.6 kB / 0.5371 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.5576, allocations: 81.3 kB / 0.5372 GB, free: 4.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.5579, allocations: 85.8 kB / 0.5373 GB, free: 4.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.5584, allocations: 267.5 kB / 0.5376 GB, free: 4.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5584, allocations: 1.188 kB / 0.5376 GB, free: 4.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006211/0.559, allocations: 295.3 kB / 0.5378 GB, free: 4.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/0.559, allocations: 76.59 kB / 0.5379 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.559, allocations: 0 / 0.5379 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.5591, allocations: 0 / 0.5379 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.5592, allocations: 27.31 kB / 0.5379 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5593, allocations: 1.312 kB / 0.5379 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.5595, allocations: 26.91 kB / 0.538 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.5595, allocations: 7.875 kB / 0.538 GB, free: 3.969 MB / 398.1 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: 0 * Algorithm blocks: 2 * 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.0001692/0.5597, allocations: 164.3 kB / 0.5381 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.5597, allocations: 10.84 kB / 0.5381 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.256e-05/0.5598, allocations: 15.38 kB / 0.5382 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5598, allocations: 1.906 kB / 0.5382 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5598, allocations: 3.938 kB / 0.5382 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5598, allocations: 0.6094 kB / 0.5382 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.56, allocations: 188.3 kB / 0.5383 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.56, allocations: 0 / 0.5383 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.5601, allocations: 20.94 kB / 0.5384 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5601, allocations: 0 / 0.5384 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.5601, allocations: 3.906 kB / 0.5384 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5601, allocations: 480 / 0.5384 GB, free: 3.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5601, allocations: 6.203 kB / 0.5384 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/0.5609, allocations: 310.4 kB / 0.5387 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.561, allocations: 8.125 kB / 0.5387 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/0.561, allocations: 2.969 kB / 0.5387 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.5612, allocations: 30.05 kB / 0.5387 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5614, allocations: 25.67 kB / 0.5387 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.5614, allocations: 3.5 kB / 0.5387 GB, free: 3.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.5615, allocations: 108.4 kB / 0.5388 GB, free: 3.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5615, allocations: 1.188 kB / 0.5388 GB, free: 3.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.5618, allocations: 27.97 kB / 0.5389 GB, free: 3.34 MB / 398.1 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: 0 * Algorithm blocks: 1 * 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.0001462/0.5619, allocations: 98.53 kB / 0.539 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.5628, allocations: 329.8 kB / 0.5393 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5628, allocations: 0 / 0.5393 GB, free: 3.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.5632, allocations: 167.8 kB / 0.5394 GB, free: 2.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.5634, allocations: 12.67 kB / 0.5394 GB, free: 2.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009367/0.5644, allocations: 313.6 kB / 0.5397 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5647, allocations: 0.6991 MB / 0.5404 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.495e-05/0.5647, allocations: 9.875 kB / 0.5404 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.5648, allocations: 13.69 kB / 0.5404 GB, free: 2.086 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5648, allocations: 4 kB / 0.5405 GB, free: 2.082 MB / 398.1 MB Notification: Performance of Templates: time 0.006777/0.5716, allocations: 1.82 MB / 0.5422 GB, free: 1.914 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.837995861656964] Failed to read output from testmodel.py, exit status != 0: 0.5816488051787019 0.597967803 0.04255486 Calling exit ...