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.001042/0.001042, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.001211/0.001211, allocations: 207.2 kB / 23.01 MB, free: 3.117 MB / 13.93 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.9468/0.9468, allocations: 230.6 MB / 256.8 MB, free: 3.578 MB / 202.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-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 0.7855/0.7855, allocations: 203.8 MB / 0.5049 GB, free: 0.7812 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 65.62 kB / 0.7194 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5351, allocations: 102 MB / 0.819 GB, free: 25.34 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002175/0.5373, allocations: 1.583 MB / 0.8206 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009127/0.5382, allocations: 0.6501 MB / 0.8212 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.5383, allocations: 1.906 kB / 0.8212 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.5384, allocations: 15.62 kB / 0.8212 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.885e-05/0.5385, allocations: 25.69 kB / 0.8213 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.5389, allocations: 106.3 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.5391, allocations: 96.66 kB / 0.8215 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.5392, allocations: 19.52 kB / 0.8215 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.5394, allocations: 53.94 kB / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.5394, allocations: 49.17 kB / 0.8216 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.5395, allocations: 7.562 kB / 0.8216 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.5396, allocations: 100.3 kB / 0.8217 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.5397, allocations: 20.59 kB / 0.8217 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.5397, allocations: 41.77 kB / 0.8217 GB, free: 23.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.54, allocations: 153.1 kB / 0.8219 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.54, allocations: 0 / 0.8219 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.54, allocations: 0.75 kB / 0.8219 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.54, allocations: 1.656 kB / 0.8219 GB, free: 23.51 MB / 0.6355 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.0005723/0.5405, allocations: 386.8 kB / 0.8223 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5406, allocations: 8.969 kB / 0.8223 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.5408, allocations: 36.16 kB / 0.8223 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.541, allocations: 135.5 kB / 0.8224 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.541, allocations: 5.016 kB / 0.8224 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.541, allocations: 8.281 kB / 0.8224 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.5412, allocations: 111.5 kB / 0.8226 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.5413, allocations: 7.469 kB / 0.8226 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5413, allocations: 9.359 kB / 0.8226 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.5413, allocations: 4.188 kB / 0.8226 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.5415, allocations: 83.58 kB / 0.8227 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.5419, allocations: 326.3 kB / 0.823 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.5421, allocations: 86.03 kB / 0.823 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.5422, allocations: 53.66 kB / 0.8231 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5423, allocations: 2.891 kB / 0.8231 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.5425, allocations: 118.1 kB / 0.8232 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.385e-06/0.5425, allocations: 3.938 kB / 0.8232 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0004441/0.5429, allocations: 205.4 kB / 0.8234 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.5429, allocations: 53.53 kB / 0.8235 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.543, allocations: 158 kB / 0.8236 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.5431, allocations: 31.47 kB / 0.8236 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.5431, allocations: 102.5 kB / 0.8237 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5431, allocations: 30.56 kB / 0.8238 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.5432, allocations: 25.33 kB / 0.8238 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.733e-05/0.5432, allocations: 321.1 kB / 0.8241 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.5433, allocations: 56.77 kB / 0.8242 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.5435, allocations: 57.69 kB / 0.8242 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.5437, allocations: 147.8 kB / 0.8244 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5437, allocations: 0 / 0.8244 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002638/0.5439, allocations: 202.5 kB / 0.8245 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.544, allocations: 33.11 kB / 0.8246 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.544, allocations: 0 / 0.8246 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.544, allocations: 2.125 kB / 0.8246 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.705e-05/0.5441, allocations: 22.39 kB / 0.8246 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5441, allocations: 0.6094 kB / 0.8246 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.5442, allocations: 24.36 kB / 0.8246 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5442, allocations: 2.891 kB / 0.8246 GB, free: 21.57 MB / 0.6355 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 5.862e-05/0.5442, allocations: 130.6 kB / 0.8247 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.5442, allocations: 9.688 kB / 0.8248 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.5443, allocations: 17.09 kB / 0.8248 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.5443, allocations: 3.547 kB / 0.8248 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5443, allocations: 1.25 kB / 0.8248 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5443, allocations: 4.922 kB / 0.8248 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.5444, allocations: 165.5 kB / 0.8249 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5444, allocations: 0.5156 kB / 0.8249 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.5445, allocations: 17.73 kB / 0.825 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5445, allocations: 4 kB / 0.825 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.5445, allocations: 10.55 kB / 0.825 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5445, allocations: 0 / 0.825 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5445, allocations: 2.125 kB / 0.825 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.5447, allocations: 184.6 kB / 0.8252 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.5447, allocations: 15.14 kB / 0.8252 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.5447, allocations: 2.188 kB / 0.8252 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.591e-05/0.5448, allocations: 15.69 kB / 0.8252 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.5449, allocations: 16.41 kB / 0.8252 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.5449, allocations: 4.062 kB / 0.8252 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.5449, allocations: 105.3 kB / 0.8253 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5449, allocations: 1.281 kB / 0.8253 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002012/0.5451, allocations: 40.14 kB / 0.8253 GB, free: 21.03 MB / 0.6355 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.0001269/0.5452, allocations: 123.6 kB / 0.8255 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.5455, allocations: 181.9 kB / 0.8256 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5455, allocations: 0 / 0.8256 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.5456, allocations: 55.39 kB / 0.8257 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.5458, allocations: 16.34 kB / 0.8257 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.5462, allocations: 270.9 kB / 0.826 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.226e-05/0.5463, allocations: 0.7026 MB / 0.8266 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.5464, allocations: 14.23 kB / 0.8267 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of SimCode: time 7.12e-07/0.5464, allocations: 0 / 0.8267 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.003096/0.5495, allocations: 1.553 MB / 0.8282 GB, free: 19.79 MB / 0.6355 GB " [Timeout remaining time 659] 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.140090428059921] Failed to read output from testmodel.py, exit status != 0: 0.5569690831471235 0.567096705 0.025189616 Calling exit ...