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.001799/0.001799, allocations: 79.52 kB / 19.18 MB, free: 2.516 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.001986/0.001986, allocations: 164.3 kB / 22.46 MB, free: 5.375 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.568/1.568, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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-531:190: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-531:198: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.238/1.238, allocations: 154.5 MB / 413.7 MB, free: 5.297 MB / 382.1 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 1.804e-06/1.804e-06, allocations: 0 / 0.6185 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.148e-05/4.328e-05, allocations: 5.906 kB / 0.6185 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003586/0.003629, allocations: 1.537 MB / 0.62 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.005134, allocations: 0.6115 MB / 0.6206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.005223, allocations: 8 kB / 0.6206 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.005364, allocations: 7.875 kB / 0.6206 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.005428, allocations: 19.78 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.005997, allocations: 111.6 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.006205, allocations: 99.64 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.006343, allocations: 20.16 kB / 0.6208 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.006592, allocations: 59.88 kB / 0.6209 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.006705, allocations: 39.88 kB / 0.6209 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.006735, allocations: 12 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.006912, allocations: 91.84 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.006975, allocations: 23.91 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.007042, allocations: 27.92 kB / 0.6211 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.007368, allocations: 163.6 kB / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.007373, allocations: 0 / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.843e-06/0.007375, allocations: 0 / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.007387, allocations: 0 / 0.6212 GB, free: 1.883 MB / 0.5294 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.0009979/0.008385, allocations: 395.4 kB / 0.6216 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.008437, allocations: 13.41 kB / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.008777, allocations: 36.81 kB / 0.6217 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.009175, allocations: 141.5 kB / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.009187, allocations: 4.375 kB / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.009214, allocations: 4.375 kB / 0.6218 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.00958, allocations: 102.2 kB / 0.6219 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.009593, allocations: 192 / 0.6219 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.009608, allocations: 4.375 kB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.009635, allocations: 7.938 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.01, allocations: 95.84 kB / 0.622 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.01075, allocations: 268.5 kB / 0.6223 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003681/0.01112, allocations: 86.52 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.01134, allocations: 72.69 kB / 0.6224 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.01135, allocations: 0 / 0.6224 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003324/0.01169, allocations: 119.4 kB / 0.6225 GB, free: 452 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.01169, allocations: 0 / 0.6225 GB, free: 452 kB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0007607/0.01245, allocations: 209.4 kB / 0.6227 GB, free: 236 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.01251, allocations: 55.41 kB / 0.6228 GB, free: 168 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.0127, allocations: 142.5 kB / 0.6229 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.575e-05/0.01277, allocations: 33.7 kB / 0.6229 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01289, allocations: 100.1 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.01292, allocations: 27.75 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.01299, allocations: 25.7 kB / 0.6231 GB, free: 15.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.0132, allocations: 326.8 kB / 0.6234 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.01344, allocations: 85.66 kB / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.01365, allocations: 81.77 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.01406, allocations: 157.1 kB / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01406, allocations: 0 / 0.6237 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005642/0.01462, allocations: 228.9 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.01468, allocations: 37.69 kB / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.01469, allocations: 0 / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.01472, allocations: 0 / 0.624 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.01487, allocations: 15.98 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01488, allocations: 3.938 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.01504, allocations: 31.86 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.01506, allocations: 4 kB / 0.624 GB, free: 14.81 MB / 0.545 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.0001358/0.0152, allocations: 126.8 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.01522, allocations: 8.422 kB / 0.6241 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.01527, allocations: 16.77 kB / 0.6242 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.01528, allocations: 4 kB / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.01529, allocations: 0 / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01529, allocations: 0 / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.01548, allocations: 141.2 kB / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01549, allocations: 0 / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.01561, allocations: 19.97 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01561, allocations: 7.938 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.01563, allocations: 4 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01563, allocations: 0 / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01563, allocations: 0 / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005291/0.01616, allocations: 188.8 kB / 0.6245 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.01618, allocations: 11.94 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.01622, allocations: 12 kB / 0.6245 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.01635, allocations: 15.97 kB / 0.6246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/0.01643, allocations: 11.97 kB / 0.6246 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.01644, allocations: 4 kB / 0.6246 GB, free: 14.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.899e-05/0.01654, allocations: 108.8 kB / 0.6247 GB, free: 14.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01654, allocations: 0 / 0.6247 GB, free: 14.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003181/0.01686, allocations: 39.92 kB / 0.6247 GB, free: 14.04 MB / 0.545 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.0002824/0.01714, allocations: 119.1 kB / 0.6248 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005923/0.01773, allocations: 209 kB / 0.625 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01774, allocations: 4 kB / 0.625 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002594/0.018, allocations: 55.89 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01826, allocations: 19.92 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000691/0.01895, allocations: 225.6 kB / 0.6253 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.01906, allocations: 85.44 kB / 0.6254 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.948e-05/0.01913, allocations: 11.98 kB / 0.6254 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.01919, allocations: 16.48 kB / 0.6254 GB, free: 13.23 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01919, allocations: 0 / 0.6254 GB, free: 13.23 MB / 0.545 GB Notification: Performance of Templates: time 0.005716/0.02491, allocations: 1.485 MB / 0.6269 GB, free: 11.79 MB / 0.545 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.482520021498203] Failed to read output from testmodel.py, exit status != 0: 0.0356280580163002 0.051997098000000005 0.041077577000000004 Calling exit ...