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.0007559/0.0007559, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007546/0.0007546, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.849/0.849, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6746/0.6746, allocations: 154.6 MB / 414.5 MB, free: 0.7852 MB / 378.7 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 179] 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.603e-06/1.603e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.884e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001703/0.001722, allocations: 1.549 MB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.002487, allocations: 0.6232 MB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.002543, allocations: 0 / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.00264, allocations: 7.875 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.002685, allocations: 23.8 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.003075, allocations: 111.6 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.003198, allocations: 95.64 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.003289, allocations: 12.22 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.003433, allocations: 63.88 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.189e-05/0.003495, allocations: 43.88 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.003513, allocations: 4 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.003627, allocations: 99.78 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.003668, allocations: 19.92 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.003708, allocations: 27.91 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.003899, allocations: 171.5 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003901, allocations: 0 / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003902, allocations: 0 / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003906, allocations: 0 / 0.6221 GB, free: 10.34 MB / 0.5886 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.0005311/0.004437, allocations: 383.5 kB / 0.6224 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.004468, allocations: 12.03 kB / 0.6224 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.004625, allocations: 28.86 kB / 0.6225 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.004788, allocations: 143.8 kB / 0.6226 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.004801, allocations: 4.375 kB / 0.6226 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.004812, allocations: 4.375 kB / 0.6226 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.005002, allocations: 110.1 kB / 0.6227 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.00501, allocations: 4.188 kB / 0.6227 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.005021, allocations: 4.375 kB / 0.6227 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.005038, allocations: 11.88 kB / 0.6227 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.005198, allocations: 91.84 kB / 0.6228 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.00559, allocations: 272.5 kB / 0.6231 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.005748, allocations: 90.5 kB / 0.6232 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.681e-05/0.005835, allocations: 60.75 kB / 0.6232 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.005847, allocations: 4 kB / 0.6232 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.006014, allocations: 107.3 kB / 0.6233 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.006015, allocations: 0 / 0.6233 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003656/0.00638, allocations: 209.5 kB / 0.6235 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.006411, allocations: 55.47 kB / 0.6236 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.006489, allocations: 144.6 kB / 0.6237 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.006505, allocations: 33.69 kB / 0.6237 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.00656, allocations: 104 kB / 0.6238 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.006579, allocations: 27.75 kB / 0.6239 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.006618, allocations: 33.7 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/0.006693, allocations: 326.8 kB / 0.6242 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.006799, allocations: 81.66 kB / 0.6243 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.006893, allocations: 89.64 kB / 0.6244 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.007067, allocations: 138.4 kB / 0.6245 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007069, allocations: 4 kB / 0.6245 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002464/0.007315, allocations: 232.1 kB / 0.6247 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.007341, allocations: 37.69 kB / 0.6248 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.007347, allocations: 0 / 0.6248 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007357, allocations: 0 / 0.6248 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.007427, allocations: 15.98 kB / 0.6248 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.007432, allocations: 3.938 kB / 0.6248 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.007508, allocations: 32.39 kB / 0.6248 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.007517, allocations: 0 / 0.6248 GB, free: 7.285 MB / 0.5886 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 7.033e-05/0.007587, allocations: 122.8 kB / 0.6249 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.007599, allocations: 15.88 kB / 0.625 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.22e-05/0.007621, allocations: 12.78 kB / 0.625 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.007631, allocations: 8 kB / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.007635, allocations: 0 / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007638, allocations: 0 / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.56e-05/0.007733, allocations: 145.2 kB / 0.6251 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.007735, allocations: 4 kB / 0.6251 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.007778, allocations: 15.98 kB / 0.6251 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.007781, allocations: 3.984 kB / 0.6251 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.00779, allocations: 7.984 kB / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00779, allocations: 0 / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007791, allocations: 0 / 0.6251 GB, free: 6.914 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.00801, allocations: 180.9 kB / 0.6253 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.008025, allocations: 23.89 kB / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.008038, allocations: 0 / 0.6253 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.008087, allocations: 19.92 kB / 0.6254 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.00813, allocations: 15.97 kB / 0.6254 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.008135, allocations: 0 / 0.6254 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.008182, allocations: 107.2 kB / 0.6255 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008182, allocations: 0 / 0.6255 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000165/0.008347, allocations: 32 kB / 0.6255 GB, free: 6.523 MB / 0.5886 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.0001281/0.008475, allocations: 131.1 kB / 0.6256 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.008741, allocations: 205 kB / 0.6258 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.008743, allocations: 0 / 0.6258 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.35e-05/0.008836, allocations: 59.89 kB / 0.6259 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.008977, allocations: 17.8 kB / 0.6259 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.009321, allocations: 251.5 kB / 0.6261 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.009372, allocations: 89.45 kB / 0.6262 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.009414, allocations: 20.42 kB / 0.6262 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.009415, allocations: 0 / 0.6262 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of Templates: time 0.002138/0.01155, allocations: 1.583 MB / 0.6278 GB, free: 4.113 MB / 0.5886 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.144565898925066] Failed to read output from testmodel.py, exit status != 0: 0.01607906073331833 0.023417795 0.01797913 Calling exit ...