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.001528/0.001528, allocations: 88.72 kB / 19.44 MB, free: 356 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.00206/0.00206, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 1.239/1.239, allocations: 154.6 MB / 414.2 MB, free: 0.625 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 178] 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 3.406e-06/3.406e-06, allocations: 0 / 0.5196 GB, free: 2.625 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.289e-05/5.63e-05, allocations: 5.703 kB / 0.5196 GB, free: 2.621 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.004922/0.004979, allocations: 1.537 MB / 0.5211 GB, free: 1.094 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.006442, allocations: 0.6091 MB / 0.5217 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.006548, allocations: 4.906 kB / 0.5217 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.006684, allocations: 7.922 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.006765, allocations: 25.86 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006334/0.007398, allocations: 115.6 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.007629, allocations: 91.64 kB / 0.5219 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.007758, allocations: 20.2 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.008017, allocations: 64.56 kB / 0.522 GB, free: 160 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.008126, allocations: 40.59 kB / 0.522 GB, free: 120 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.008153, allocations: 8 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.00836, allocations: 88.72 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.008451, allocations: 27.95 kB / 0.5222 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.008517, allocations: 25.31 kB / 0.5222 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.008879, allocations: 171.4 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.008882, allocations: 0 / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.51e-07/0.008883, allocations: 0 / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.008889, allocations: 4.781 kB / 0.5223 GB, free: 15.8 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.0009916/0.009881, allocations: 384.2 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.009924, allocations: 11.16 kB / 0.5227 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000347/0.01027, allocations: 32.86 kB / 0.5228 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.01059, allocations: 139.8 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.01061, allocations: 8.359 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.01064, allocations: 16.3 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.01098, allocations: 98.67 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.011, allocations: 1.094 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.01102, allocations: 8.375 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.01104, allocations: 3.938 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.01139, allocations: 89.52 kB / 0.5231 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.01212, allocations: 281.3 kB / 0.5234 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.01246, allocations: 88.36 kB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.01265, allocations: 58.03 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.01266, allocations: 0 / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.01299, allocations: 119.9 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.01299, allocations: 1.625 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.000747/0.01374, allocations: 206.7 kB / 0.5238 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/0.0138, allocations: 56.16 kB / 0.5239 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.01396, allocations: 148.8 kB / 0.524 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.01399, allocations: 26.98 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.342e-05/0.01408, allocations: 103.9 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.01412, allocations: 27.75 kB / 0.5242 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.01434, allocations: 29.7 kB / 0.5242 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.01453, allocations: 327.5 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.01475, allocations: 82.25 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.01496, allocations: 87.34 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.01535, allocations: 139.9 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01535, allocations: 0 / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005411/0.01589, allocations: 239.7 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.01594, allocations: 39.72 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.01595, allocations: 4 kB / 0.5251 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.01598, allocations: 0 / 0.5251 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.01613, allocations: 22.2 kB / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.01614, allocations: 0 / 0.5251 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.01629, allocations: 23.86 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.0163, allocations: 4 kB / 0.5251 GB, free: 12.77 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 0.0001264/0.01643, allocations: 126.6 kB / 0.5252 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.01646, allocations: 15.89 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.417e-05/0.01651, allocations: 16.77 kB / 0.5253 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.01652, allocations: 4.812 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01652, allocations: 0 / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01653, allocations: 2.281 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.01671, allocations: 137.2 kB / 0.5254 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01671, allocations: 0 / 0.5254 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01682, allocations: 15.98 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01683, allocations: 0 / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.01684, allocations: 0.875 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01684, allocations: 4 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01684, allocations: 3.984 kB / 0.5254 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.01735, allocations: 189.4 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.01737, allocations: 11.95 kB / 0.5256 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.0174, allocations: 8 kB / 0.5256 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.01752, allocations: 11.98 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/0.01759, allocations: 15.95 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.01761, allocations: 4 kB / 0.5257 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.204e-05/0.0177, allocations: 112.2 kB / 0.5258 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.0177, allocations: 2.969 kB / 0.5258 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002719/0.01797, allocations: 35.94 kB / 0.5258 GB, free: 12.01 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.0002323/0.0182, allocations: 119.1 kB / 0.5259 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005329/0.01874, allocations: 213.9 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.01874, allocations: 4 kB / 0.5261 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.01896, allocations: 57.34 kB / 0.5262 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.0192, allocations: 23.38 kB / 0.5262 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.01982, allocations: 230.3 kB / 0.5264 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001066/0.01993, allocations: 88.19 kB / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.778e-05/0.02001, allocations: 15.97 kB / 0.5265 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.02006, allocations: 16.5 kB / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.02007, allocations: 2.438 kB / 0.5265 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.005136/0.0252, allocations: 1.475 MB / 0.528 GB, free: 9.789 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.205298385000788]