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.001365/0.001365, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001536/0.001536, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.225/1.225, allocations: 154.8 MB / 414.4 MB, free: 432 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 178] 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 2.554e-06/2.554e-06, allocations: 0 / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.271e-05/4.526e-05, allocations: 4.562 kB / 0.5198 GB, free: 2.312 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003586/0.003631, allocations: 1.547 MB / 0.5213 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.005167, allocations: 0.6095 MB / 0.5219 GB, free: 168 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.005256, allocations: 5.625 kB / 0.5219 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.005416, allocations: 7.875 kB / 0.5219 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.005488, allocations: 23.73 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.006088, allocations: 105.3 kB / 0.522 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002406/0.006329, allocations: 99.72 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.006463, allocations: 16.22 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.006708, allocations: 64.48 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.006813, allocations: 35.89 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.006844, allocations: 9.25 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.007038, allocations: 91.89 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.007105, allocations: 19.92 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.472e-05/0.00718, allocations: 33.16 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.007522, allocations: 171.4 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.007527, allocations: 0 / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.007528, allocations: 0 / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.007534, allocations: 2.25 kB / 0.5226 GB, free: 15.5 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.001017/0.008551, allocations: 387.5 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.008603, allocations: 8.031 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003725/0.008975, allocations: 38.61 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.009317, allocations: 137.6 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.009338, allocations: 4.375 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.009359, allocations: 4.938 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.00974, allocations: 103.1 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.009752, allocations: 192 / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.009769, allocations: 1.438 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.009799, allocations: 11.92 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.01016, allocations: 89.77 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.01096, allocations: 277.8 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.01131, allocations: 91.77 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.01152, allocations: 65.44 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.01153, allocations: 0 / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.0119, allocations: 120.5 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.0119, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0007861/0.01268, allocations: 211.8 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.01275, allocations: 52.25 kB / 0.5241 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.01292, allocations: 140.6 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.01296, allocations: 29.7 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.01308, allocations: 110.8 kB / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.01312, allocations: 35.8 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.01319, allocations: 25.7 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003709/0.01356, allocations: 330.8 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.0138, allocations: 81.66 kB / 0.5248 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.01402, allocations: 84.69 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.01442, allocations: 142.5 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01442, allocations: 0 / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005758/0.015, allocations: 238.3 kB / 0.5253 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.01505, allocations: 29.7 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01505, allocations: 0 / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.01508, allocations: 0.5 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01524, allocations: 20.91 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.01525, allocations: 8.062 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.01539, allocations: 20.78 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.01542, allocations: 4.625 kB / 0.5253 GB, free: 12.46 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 0.0001601/0.01558, allocations: 131.7 kB / 0.5255 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.01562, allocations: 11.95 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.01567, allocations: 16.78 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.01569, allocations: 7.984 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.01569, allocations: 0 / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.0157, allocations: 4 kB / 0.5255 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.01591, allocations: 137.2 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01591, allocations: 0 / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.01603, allocations: 22.41 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01603, allocations: 0 / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.01604, allocations: 4 kB / 0.5257 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01605, allocations: 4 kB / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01605, allocations: 0 / 0.5257 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.01656, allocations: 182.1 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.01659, allocations: 20.75 kB / 0.5259 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.01662, allocations: 7.984 kB / 0.5259 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.01674, allocations: 13.14 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.688e-05/0.01682, allocations: 11.98 kB / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.01683, allocations: 3.984 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001077/0.01694, allocations: 111.7 kB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01694, allocations: 0 / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000272/0.01721, allocations: 36 kB / 0.526 GB, free: 11.7 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.0002561/0.01747, allocations: 120.4 kB / 0.5262 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000566/0.01803, allocations: 211.2 kB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01803, allocations: 0 / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.01825, allocations: 63.89 kB / 0.5264 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01851, allocations: 27.17 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.01921, allocations: 222.2 kB / 0.5267 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.01933, allocations: 86.66 kB / 0.5267 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.632e-05/0.0194, allocations: 13.52 kB / 0.5267 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.01946, allocations: 16.48 kB / 0.5268 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of SimCode: time 1.012e-06/0.01946, allocations: 1.781 kB / 0.5268 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.005765/0.02523, allocations: 1.485 MB / 0.5282 GB, free: 9.48 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.124755459022708]