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.001539/0.001539, allocations: 92.22 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.001513/0.001513, allocations: 169 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 0.9918/0.9918, 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 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-545:108: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-545:116: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.8147/0.8147, allocations: 154.6 MB / 414.5 MB, free: 0.6758 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.623e-06/1.623e-06, allocations: 0 / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.673e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002271/0.002297, allocations: 1.583 MB / 0.5218 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008549/0.003152, allocations: 0.6254 MB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.003218, allocations: 0.5625 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.003323, allocations: 11.86 kB / 0.5224 GB, free: 40 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.003373, allocations: 25.59 kB / 0.5225 GB, free: 16 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.003847, allocations: 103.8 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.004001, allocations: 109.2 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004105, allocations: 20.14 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.004279, allocations: 59.88 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.00435, allocations: 39.89 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.004369, allocations: 4.5 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.004504, allocations: 103.8 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.004549, allocations: 20.95 kB / 0.5229 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.004596, allocations: 23.92 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.004796, allocations: 139.6 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.004799, allocations: 4.953 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.764e-06/0.004801, allocations: 4 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.004805, allocations: 0.625 kB / 0.5231 GB, free: 15.39 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.0005825/0.005388, allocations: 479 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.005426, allocations: 8.031 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.005618, allocations: 37.52 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.005806, allocations: 152.8 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.00582, allocations: 4.375 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.005836, allocations: 384 / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.006022, allocations: 86.91 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.006032, allocations: 0.75 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.006045, allocations: 5.812 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.006074, allocations: 11.92 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.295e-05/0.006127, allocations: 15.94 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.006576, allocations: 328.4 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.209e-05/0.006669, allocations: 40.08 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.006707, allocations: 27.55 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.006723, allocations: 4 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.006842, allocations: 78.14 kB / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.006843, allocations: 0 / 0.5243 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002257/0.007069, allocations: 95.97 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.007101, allocations: 55.41 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.007205, allocations: 200.9 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.007219, allocations: 25.7 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.007286, allocations: 146.8 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.007307, allocations: 31.73 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.007353, allocations: 35.42 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.007477, allocations: 0.4977 MB / 0.5253 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.007535, allocations: 41.81 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.007575, allocations: 45.62 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.007655, allocations: 73.31 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.007657, allocations: 0.5 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001553/0.007812, allocations: 142 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.007838, allocations: 33.7 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.007844, allocations: 0 / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.007861, allocations: 1.062 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.007958, allocations: 23.91 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.007963, allocations: 0 / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.662e-05/0.00802, allocations: 16.64 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.008032, allocations: 10.73 kB / 0.5257 GB, free: 12.45 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 7.369e-05/0.008105, allocations: 163 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.008123, allocations: 11.95 kB / 0.5259 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.008153, allocations: 16.77 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.008164, allocations: 7.984 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.008168, allocations: 0 / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.008172, allocations: 2.969 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.008278, allocations: 148.4 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.00828, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.008322, allocations: 11.98 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.008325, allocations: 4 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.008336, allocations: 7.984 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.008337, allocations: 80 / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.008339, allocations: 3.984 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.008482, allocations: 121.8 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.008497, allocations: 15.88 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.008517, allocations: 0 / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.008562, allocations: 15.98 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.008611, allocations: 12.67 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.008619, allocations: 7.25 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.008674, allocations: 144.1 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008674, allocations: 0 / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001856/0.00886, allocations: 36 kB / 0.5264 GB, free: 11.68 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.0001511/0.009011, allocations: 123.1 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.009189, allocations: 136.8 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00919, allocations: 0 / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.122e-05/0.009242, allocations: 38.05 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001674/0.009409, allocations: 19.92 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005879/0.009997, allocations: 207.8 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.716e-05/0.01003, allocations: 65.34 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.01008, allocations: 11.98 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.01012, allocations: 16.5 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/0.01012, allocations: 2.438 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.003692/0.01381, allocations: 1.49 MB / 0.5285 GB, free: 9.57 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.005520833656192]