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.001/0.001, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009687/0.0009687, allocations: 169 kB / 24.05 MB, free: 456 kB / 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 1.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.258 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.7728/0.7728, allocations: 154.9 MB / 415.9 MB, free: 156 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.473e-06/1.473e-06, allocations: 0 / 0.5218 GB, free: 1.438 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.062e-05, allocations: 3.516 kB / 0.5218 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002015/0.002035, allocations: 1.587 MB / 0.5234 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.00284, allocations: 0.6177 MB / 0.524 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.0029, allocations: 4 kB / 0.524 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.994e-05/0.003, allocations: 11.86 kB / 0.524 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.003045, allocations: 17.2 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.003437, allocations: 107.6 kB / 0.5241 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.003573, allocations: 112.1 kB / 0.5242 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.003659, allocations: 9.422 kB / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.003806, allocations: 63.86 kB / 0.5243 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.003867, allocations: 35.91 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.003887, allocations: 8.719 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.004156, allocations: 95.78 kB / 0.5244 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.0042, allocations: 24.5 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.004236, allocations: 27.91 kB / 0.5245 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.004418, allocations: 148.8 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.00442, allocations: 0 / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004422, allocations: 0 / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.004425, allocations: 0.875 kB / 0.5246 GB, free: 14.59 MB / 0.4948 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.0004901/0.004915, allocations: 482.2 kB / 0.5251 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.004945, allocations: 8.031 kB / 0.5251 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.005107, allocations: 32.31 kB / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.005253, allocations: 144.4 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.005264, allocations: 4.375 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.005276, allocations: 4.375 kB / 0.5253 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.005422, allocations: 86.83 kB / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.005429, allocations: 192 / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.005438, allocations: 384 / 0.5254 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.005461, allocations: 8.594 kB / 0.5254 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.689e-05/0.005497, allocations: 19.97 kB / 0.5254 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.005832, allocations: 301.3 kB / 0.5257 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.005904, allocations: 43.92 kB / 0.5257 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.005929, allocations: 19.73 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.005943, allocations: 5.562 kB / 0.5257 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/0.006045, allocations: 76.97 kB / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.006047, allocations: 0 / 0.5258 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0001747/0.006221, allocations: 89.55 kB / 0.5259 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.006258, allocations: 56.25 kB / 0.5259 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.006343, allocations: 197 kB / 0.5261 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.006358, allocations: 26.2 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.006418, allocations: 152.8 kB / 0.5263 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.006436, allocations: 35.72 kB / 0.5263 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.006477, allocations: 35.36 kB / 0.5264 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.006594, allocations: 0.4961 MB / 0.5269 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.006635, allocations: 37.7 kB / 0.5269 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.006667, allocations: 41.73 kB / 0.5269 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.907e-05/0.006727, allocations: 61.94 kB / 0.527 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.00673, allocations: 4.469 kB / 0.527 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001359/0.006865, allocations: 152.6 kB / 0.5271 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.006889, allocations: 31.83 kB / 0.5272 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.006894, allocations: 4 kB / 0.5272 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.006903, allocations: 0.5625 kB / 0.5272 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.857e-05/0.006982, allocations: 21.42 kB / 0.5272 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.006984, allocations: 0 / 0.5272 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.007039, allocations: 15.94 kB / 0.5272 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.007048, allocations: 5.75 kB / 0.5272 GB, free: 11.71 MB / 0.4948 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 7.156e-05/0.00712, allocations: 168.5 kB / 0.5274 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.007135, allocations: 7.953 kB / 0.5274 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.007158, allocations: 12.78 kB / 0.5274 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.007167, allocations: 6.75 kB / 0.5274 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007169, allocations: 0 / 0.5274 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.007172, allocations: 3.984 kB / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.922e-05/0.007272, allocations: 117.2 kB / 0.5275 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007273, allocations: 3.938 kB / 0.5275 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.007315, allocations: 19.92 kB / 0.5275 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.007318, allocations: 3.938 kB / 0.5275 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.007324, allocations: 1.906 kB / 0.5275 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.007325, allocations: 0 / 0.5275 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.007328, allocations: 3.984 kB / 0.5276 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.007449, allocations: 120.3 kB / 0.5277 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.007462, allocations: 15.83 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.007477, allocations: 0.9375 kB / 0.5277 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.217e-05/0.007519, allocations: 11.98 kB / 0.5277 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.007557, allocations: 12.7 kB / 0.5277 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.007564, allocations: 3.984 kB / 0.5277 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.007608, allocations: 142.4 kB / 0.5278 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.007608, allocations: 4 kB / 0.5278 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001686/0.007777, allocations: 39.12 kB / 0.5279 GB, free: 10.97 MB / 0.4948 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.0001297/0.007907, allocations: 119.2 kB / 0.528 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.008049, allocations: 128.7 kB / 0.5281 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.008051, allocations: 4 kB / 0.5281 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.00809, allocations: 23.67 kB / 0.5281 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.008254, allocations: 23.05 kB / 0.5282 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.008717, allocations: 218.6 kB / 0.5284 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.033e-05/0.008747, allocations: 63.34 kB / 0.5284 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.757e-05/0.008785, allocations: 9.797 kB / 0.5284 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.008856, allocations: 86.19 kB / 0.5285 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of SimCode: time 7.52e-07/0.008857, allocations: 2.406 kB / 0.5285 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.003196/0.01205, allocations: 1.657 MB / 0.5302 GB, free: 8.656 MB / 0.4948 GB " [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.8742927950806916]