Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00166/0.00166, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001831/0.001831, allocations: 174 kB / 22.46 MB, free: 5.355 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.181/1.181, allocations: 154.6 MB / 413.8 MB, free: 5.199 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.02e-05/4.189e-05, allocations: 4.578 kB / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002916/0.002958, allocations: 1.553 MB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.004209, allocations: 0.6037 MB / 0.6206 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.004278, allocations: 7.938 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.004384, allocations: 7.922 kB / 0.6207 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.004444, allocations: 23.73 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.004905, allocations: 107.6 kB / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.005085, allocations: 111.6 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.005194, allocations: 12.23 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.005399, allocations: 71.73 kB / 0.621 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.633e-05/0.005486, allocations: 27.97 kB / 0.621 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.005511, allocations: 11.94 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.00567, allocations: 91.89 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.005725, allocations: 19.92 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.83e-05/0.005783, allocations: 31.91 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.006061, allocations: 167.5 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006064, allocations: 0 / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006065, allocations: 0 / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.006069, allocations: 0 / 0.6213 GB, free: 1.758 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.0008566/0.006926, allocations: 391.4 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.006962, allocations: 8.031 kB / 0.6217 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.007237, allocations: 40.75 kB / 0.6217 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.007492, allocations: 137.6 kB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.007506, allocations: 4.375 kB / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.00753, allocations: 12.3 kB / 0.6219 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.007873, allocations: 102.1 kB / 0.622 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.007883, allocations: 192 / 0.622 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.0079, allocations: 4.359 kB / 0.622 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.007923, allocations: 7.938 kB / 0.622 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.008281, allocations: 91.92 kB / 0.6221 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006429/0.008924, allocations: 276.4 kB / 0.6223 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.009252, allocations: 86.45 kB / 0.6224 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.009456, allocations: 64.81 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.009482, allocations: 4 kB / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.009818, allocations: 111.3 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.00982, allocations: 0 / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.000729/0.01055, allocations: 205.4 kB / 0.6228 GB, free: 120 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.01061, allocations: 59.41 kB / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.01076, allocations: 135.1 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.01079, allocations: 29.7 kB / 0.623 GB, free: 15.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.681e-05/0.01089, allocations: 104.1 kB / 0.6231 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.01092, allocations: 35.8 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.01098, allocations: 25.7 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.01117, allocations: 326.8 kB / 0.6235 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.01139, allocations: 81.66 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.0116, allocations: 89.59 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.01198, allocations: 154 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01198, allocations: 0 / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005093/0.01249, allocations: 217.3 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.01253, allocations: 41.7 kB / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.01254, allocations: 3.938 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.01256, allocations: 0 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.0127, allocations: 20.06 kB / 0.624 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01271, allocations: 7.938 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.01284, allocations: 19.88 kB / 0.6241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.01286, allocations: 4 kB / 0.6241 GB, free: 14.7 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.0001371/0.013, allocations: 131.6 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.01302, allocations: 15.95 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.01306, allocations: 8.781 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.01307, allocations: 7.984 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01308, allocations: 0 / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01308, allocations: 0 / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.01328, allocations: 137.2 kB / 0.6244 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01329, allocations: 4 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.01341, allocations: 27.95 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01341, allocations: 0 / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01342, allocations: 3.938 kB / 0.6244 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01342, allocations: 7.938 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01342, allocations: 0 / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.0139, allocations: 184.9 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.01391, allocations: 3.953 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.01394, allocations: 4 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.01406, allocations: 15.97 kB / 0.6246 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.01413, allocations: 11.98 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.01414, allocations: 11.98 kB / 0.6246 GB, free: 14.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.917e-05/0.01422, allocations: 109.1 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01422, allocations: 0 / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000246/0.01447, allocations: 39.94 kB / 0.6248 GB, free: 13.93 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.0002047/0.01467, allocations: 115.2 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.01519, allocations: 209 kB / 0.6251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01519, allocations: 11.94 kB / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.0154, allocations: 55.95 kB / 0.6251 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.01562, allocations: 20.06 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.01617, allocations: 221.6 kB / 0.6254 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.457e-05/0.01627, allocations: 89.44 kB / 0.6255 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.279e-05/0.01633, allocations: 11.98 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.01638, allocations: 12.5 kB / 0.6255 GB, free: 13.12 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01638, allocations: 0 / 0.6255 GB, free: 13.12 MB / 0.545 GB Notification: Performance of Templates: time 0.004706/0.02108, allocations: 1.474 MB / 0.6269 GB, free: 11.68 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.825589068233967] Failed to read output from testmodel.py, exit status != 0: 0.02984679862856865 0.046252162 0.036998766 Calling exit ...