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.001009/0.001009, 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.001045/0.001045, allocations: 173 kB / 23.02 MB, free: 1.547 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.9003/0.9003, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8311/0.8311, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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.352e-06/1.352e-06, allocations: 0 / 0.5203 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.122e-05, allocations: 4.906 kB / 0.5203 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001876/0.001897, allocations: 1.576 MB / 0.5218 GB, free: 0.6875 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00078/0.002677, allocations: 0.6258 MB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.002735, allocations: 4 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.002836, allocations: 13.08 kB / 0.5224 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.002887, allocations: 27.78 kB / 0.5225 GB, free: 20 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.0033, allocations: 105.5 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.003434, allocations: 99.55 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.003524, allocations: 20.2 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.003683, allocations: 73.56 kB / 0.5228 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.003745, allocations: 27.95 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.003763, allocations: 11.94 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.003885, allocations: 95.83 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.003923, allocations: 19.92 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.003966, allocations: 33.56 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.004148, allocations: 147.5 kB / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00415, allocations: 0 / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00415, allocations: 0 / 0.5231 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004154, allocations: 0 / 0.5231 GB, free: 15.4 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.0005559/0.00471, allocations: 476 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.004753, allocations: 12.03 kB / 0.5235 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.004928, allocations: 36.8 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.005089, allocations: 148 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.005099, allocations: 384 / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.005114, allocations: 12.36 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.005278, allocations: 88.03 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.005285, allocations: 192 / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.005296, allocations: 384 / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.005321, allocations: 14.7 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.005368, allocations: 16 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.005771, allocations: 327.5 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.852e-05/0.005859, allocations: 43.06 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.005894, allocations: 23.61 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.005906, allocations: 0.5 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.006019, allocations: 81.58 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.006021, allocations: 0 / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002021/0.006223, allocations: 94.53 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.006252, allocations: 55.41 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.006346, allocations: 202.5 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.00636, allocations: 29.7 kB / 0.5247 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.006418, allocations: 146.8 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.006438, allocations: 31.73 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.006483, allocations: 39.42 kB / 0.5249 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.00659, allocations: 0.4971 MB / 0.5254 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.006637, allocations: 33.7 kB / 0.5254 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.006675, allocations: 48.84 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.494e-05/0.00675, allocations: 73.42 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.006752, allocations: 0 / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001403/0.006892, allocations: 145 kB / 0.5256 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.006916, allocations: 29.7 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.006921, allocations: 0 / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.006933, allocations: 4 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.007016, allocations: 23.97 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.00702, allocations: 2.781 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.007073, allocations: 11.95 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.007085, allocations: 7.984 kB / 0.5257 GB, free: 12.46 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 6.59e-05/0.007151, allocations: 160.5 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.007165, allocations: 11.95 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.007186, allocations: 12.78 kB / 0.5259 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.007196, allocations: 9.297 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.0072, allocations: 0 / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.007203, allocations: 0 / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.007305, allocations: 156.4 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007306, allocations: 0.5 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.007341, allocations: 13.98 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007343, allocations: 0 / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.007352, allocations: 7.938 kB / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.007354, allocations: 80 / 0.5261 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007355, allocations: 3.984 kB / 0.5261 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.007476, allocations: 126.7 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.007488, allocations: 11.89 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.007506, allocations: 0 / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.007547, allocations: 15.98 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.007593, allocations: 7.984 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.0076, allocations: 0 / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.007656, allocations: 152.1 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007656, allocations: 2.25 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001597/0.007816, allocations: 32 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.0001215/0.007937, allocations: 127.2 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.008092, allocations: 136.7 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008093, allocations: 1.031 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.008139, allocations: 31.67 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.008286, allocations: 18.39 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.008801, allocations: 218.2 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.008833, allocations: 63.34 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.554e-05/0.008879, allocations: 18.94 kB / 0.527 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.008913, allocations: 16.5 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.008914, allocations: 0 / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.003094/0.01201, allocations: 1.594 MB / 0.5286 GB, free: 9.48 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: 3.5550411930307746]