Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001255/0.001255, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009397/0.0009397, allocations: 177 kB / 23.36 MB, free: 1.129 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.9522/0.9522, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7928/0.7928, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 480.3 MB, free: 6.582 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.943e-05, allocations: 4.703 kB / 480.3 MB, free: 6.578 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002201/0.002221, allocations: 1.595 MB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009193/0.00314, allocations: 0.6354 MB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.003205, allocations: 4.531 kB / 482.5 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.003317, allocations: 9.594 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.003372, allocations: 20.86 kB / 482.6 MB, free: 4.355 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.003787, allocations: 112.5 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.003922, allocations: 103.4 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.004009, allocations: 17.86 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.004167, allocations: 59.89 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.004236, allocations: 39.88 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004255, allocations: 8 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.004374, allocations: 96.53 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.004416, allocations: 19.91 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.004451, allocations: 29.23 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.004628, allocations: 147.6 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004631, allocations: 0 / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004633, allocations: 0 / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004637, allocations: 0.5625 kB / 483.2 MB, free: 3.742 MB / 442.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.0004486/0.005085, allocations: 358 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.005117, allocations: 13.03 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.005276, allocations: 32.89 kB / 483.6 MB, free: 3.324 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.005428, allocations: 130.2 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.005437, allocations: 5.688 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.005451, allocations: 8.375 kB / 483.7 MB, free: 3.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.005594, allocations: 85.72 kB / 483.8 MB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.005601, allocations: 4.781 kB / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.005609, allocations: 384 / 483.8 MB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.005631, allocations: 9.156 kB / 483.8 MB, free: 3.055 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.078e-05/0.005662, allocations: 11.98 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.005971, allocations: 206.9 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.559e-05/0.006047, allocations: 74.41 kB / 484.1 MB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.006072, allocations: 17.92 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.006084, allocations: 0 / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.006198, allocations: 82.69 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.0062, allocations: 3.938 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001504/0.00635, allocations: 74.3 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.006382, allocations: 56.8 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.006464, allocations: 142.6 kB / 484.5 MB, free: 2.332 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.006479, allocations: 29.7 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.006522, allocations: 96.06 kB / 484.6 MB, free: 2.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.00654, allocations: 28.64 kB / 484.6 MB, free: 2.172 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.00658, allocations: 33.62 kB / 484.7 MB, free: 2.133 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.006665, allocations: 324.3 kB / 485 MB, free: 1.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.006712, allocations: 40.52 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.006751, allocations: 37.64 kB / 485.1 MB, free: 1.719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.006834, allocations: 76 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.006837, allocations: 0.8438 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001379/0.006975, allocations: 125 kB / 485.3 MB, free: 1.496 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.007008, allocations: 34.25 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.007016, allocations: 0 / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.00703, allocations: 1.25 kB / 485.3 MB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.546e-05/0.007126, allocations: 23.92 kB / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007128, allocations: 0 / 485.3 MB, free: 1.434 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.007202, allocations: 20.69 kB / 485.3 MB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.007212, allocations: 0.625 kB / 485.3 MB, free: 1.414 MB / 442.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 7.739e-05/0.007289, allocations: 113.3 kB / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.00731, allocations: 15.92 kB / 485.5 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.007337, allocations: 13.41 kB / 485.5 MB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.007349, allocations: 4.625 kB / 485.5 MB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.007353, allocations: 3.984 kB / 485.5 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.007356, allocations: 0.625 kB / 485.5 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.00746, allocations: 93.73 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007461, allocations: 0.625 kB / 485.6 MB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.007509, allocations: 12.92 kB / 485.6 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.007514, allocations: 7.938 kB / 485.6 MB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.007522, allocations: 5.562 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007524, allocations: 0 / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.007526, allocations: 3.984 kB / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.007647, allocations: 90.7 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.343e-05/0.00766, allocations: 7.953 kB / 485.7 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.007679, allocations: 4.875 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.007732, allocations: 12.64 kB / 485.7 MB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.007774, allocations: 7.984 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.007782, allocations: 9.016 kB / 485.7 MB, free: 0.9727 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.071e-05/0.007813, allocations: 28.83 kB / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007813, allocations: 4 kB / 485.8 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002036/0.008017, allocations: 36.48 kB / 485.8 MB, free: 0.9023 MB / 442.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.0001543/0.008171, allocations: 114.2 kB / 485.9 MB, free: 0.7852 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001515/0.008322, allocations: 125.9 kB / 486 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.008326, allocations: 0 / 486 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.813e-05/0.008374, allocations: 28.78 kB / 486.1 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.008498, allocations: 20.97 kB / 486.1 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.009034, allocations: 214.6 kB / 486.3 MB, free: 360 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.009074, allocations: 63.34 kB / 486.4 MB, free: 276 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.324e-05/0.009127, allocations: 9.547 kB / 486.4 MB, free: 268 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.009202, allocations: 59.38 kB / 486.4 MB, free: 208 kB / 442.7 MB Notification: Performance of SimCode: time 8.11e-07/0.009203, allocations: 0.75 kB / 486.4 MB, free: 208 kB / 442.7 MB Notification: Performance of Templates: time 0.003729/0.01293, allocations: 1.484 MB / 487.9 MB, free: 14.81 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7314483770169318]