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.001337/0.001337, allocations: 93.06 kB / 19.65 MB, free: 276 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.001532/0.001532, allocations: 165 kB / 23.02 MB, free: 1.551 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.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8621/0.8621, allocations: 154.8 MB / 414.7 MB, free: 488 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.233e-06/1.233e-06, allocations: 0 / 0.5205 GB, free: 2.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.406e-05/2.529e-05, allocations: 2.312 kB / 0.5205 GB, free: 2.016 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002087/0.002112, allocations: 1.601 MB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009656/0.003078, allocations: 0.6231 MB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.00315, allocations: 7.938 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.229e-05/0.003242, allocations: 7.922 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.003296, allocations: 15.81 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.003715, allocations: 115.6 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.00386, allocations: 96.2 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.003955, allocations: 8.234 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.004121, allocations: 76.77 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.929e-05/0.00419, allocations: 35.88 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.00421, allocations: 9.625 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.004347, allocations: 91.84 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.004392, allocations: 19.92 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.004437, allocations: 31.91 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.004635, allocations: 152.4 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004638, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004639, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.004644, allocations: 1.406 kB / 0.5233 GB, free: 15.14 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.0005668/0.005211, allocations: 477.8 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.00525, allocations: 9.188 kB / 0.5238 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.005451, allocations: 32.86 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.005945, allocations: 138.2 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.00596, allocations: 8.375 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.005978, allocations: 5.656 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.00617, allocations: 90.83 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.006182, allocations: 1.406 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.006194, allocations: 384 / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.006224, allocations: 7.938 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.534e-05/0.006279, allocations: 19.92 kB / 0.5241 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.006748, allocations: 330 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.006848, allocations: 43.05 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.006885, allocations: 23.61 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.006903, allocations: 0 / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.007033, allocations: 78.78 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.714e-06/0.007035, allocations: 3.938 kB / 0.5245 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002431/0.007278, allocations: 89.61 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.007323, allocations: 55.34 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.007448, allocations: 196.7 kB / 0.5249 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.007467, allocations: 35.08 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.007543, allocations: 146.8 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.007573, allocations: 35.8 kB / 0.5251 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.007631, allocations: 35.86 kB / 0.5251 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.007766, allocations: 0.4922 MB / 0.5256 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.007838, allocations: 38.72 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.915e-05/0.007888, allocations: 45.69 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.831e-05/0.007986, allocations: 69.88 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.007989, allocations: 0 / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001991/0.008188, allocations: 153 kB / 0.5259 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.008227, allocations: 36.05 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.008235, allocations: 0.5 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.008256, allocations: 6.062 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.008366, allocations: 19.98 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.008373, allocations: 4.062 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.76e-05/0.008431, allocations: 15.94 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.008441, allocations: 0 / 0.5259 GB, free: 12.21 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 8.926e-05/0.00853, allocations: 170.9 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.771e-05/0.008548, allocations: 11.95 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.008576, allocations: 12.72 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.008588, allocations: 4 kB / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.008593, allocations: 0 / 0.5261 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.008599, allocations: 14.16 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.008719, allocations: 152.5 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.008721, allocations: 0 / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.952e-05/0.008771, allocations: 11.98 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.008774, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.008783, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.008785, allocations: 1.031 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.008787, allocations: 4 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.008945, allocations: 120.2 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.00896, allocations: 12.83 kB / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.008982, allocations: 3.984 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.009035, allocations: 15.22 kB / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.009086, allocations: 11.97 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.009093, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.198e-05/0.009155, allocations: 154.2 kB / 0.5266 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.009155, allocations: 0 / 0.5266 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001874/0.009343, allocations: 32 kB / 0.5266 GB, free: 11.44 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.0001979/0.009541, allocations: 131.1 kB / 0.5268 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.009749, allocations: 135.5 kB / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.009751, allocations: 0 / 0.5269 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.009801, allocations: 28.33 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.009985, allocations: 15.94 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006375/0.01062, allocations: 220.2 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.01066, allocations: 72.61 kB / 0.5272 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.878e-05/0.01071, allocations: 12.64 kB / 0.5272 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.01075, allocations: 13.34 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.01075, allocations: 0 / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.003667/0.01442, allocations: 1.497 MB / 0.5287 GB, free: 9.32 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: 4.1764363828115165]