Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.00125/0.00125, allocations: 84.73 kB / 19.43 MB, free: 360 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.001483/0.001483, 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.216/1.216, allocations: 154.8 MB / 414.3 MB, free: 480 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 178] 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.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0.875 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.724e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003121/0.003158, allocations: 0.8938 MB / 0.5207 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.006481, allocations: 1.472 MB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.006574, allocations: 0 / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.708e-05/0.006641, allocations: 20.36 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.00689, allocations: 64.86 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.008742, allocations: 427.9 kB / 0.5227 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.009603, allocations: 496 kB / 0.5231 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.009772, allocations: 42.88 kB / 0.5232 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.01027, allocations: 259.6 kB / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.01064, allocations: 139.5 kB / 0.5236 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.01076, allocations: 52.97 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.01092, allocations: 52 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.099e-05/0.01099, allocations: 44.42 kB / 0.5237 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.01127, allocations: 135.8 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009658/0.01223, allocations: 0.5578 MB / 0.5244 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.01224, allocations: 3.984 kB / 0.5244 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.893e-06/0.01224, allocations: 4.75 kB / 0.5244 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.01225, allocations: 0 / 0.5244 GB, free: 13.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001266/0.01352, allocations: 0.5556 MB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.01357, allocations: 8.031 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.01375, allocations: 51.62 kB / 0.525 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.01404, allocations: 161 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.01408, allocations: 12.38 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.01418, allocations: 24.31 kB / 0.5252 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.01451, allocations: 123.3 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.01453, allocations: 4.172 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.01454, allocations: 384 / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.01456, allocations: 4.375 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.01475, allocations: 57.02 kB / 0.5254 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.01618, allocations: 0.7155 MB / 0.5261 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.01647, allocations: 127.5 kB / 0.5262 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.0166, allocations: 56.36 kB / 0.5262 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.01662, allocations: 0 / 0.5262 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005058/0.01712, allocations: 184 kB / 0.5264 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.01713, allocations: 0 / 0.5264 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000786/0.01791, allocations: 233.4 kB / 0.5266 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.01806, allocations: 137.5 kB / 0.5268 GB, free: 11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.01848, allocations: 241.7 kB / 0.527 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/0.01857, allocations: 39.67 kB / 0.527 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.01875, allocations: 128.6 kB / 0.5271 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.01881, allocations: 35.78 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.01906, allocations: 89.66 kB / 0.5273 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002338/0.0193, allocations: 334.8 kB / 0.5276 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.01987, allocations: 271 kB / 0.5278 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.02056, allocations: 355.3 kB / 0.5282 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007321/0.02129, allocations: 372.2 kB / 0.5285 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.02129, allocations: 0 / 0.5285 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001847/0.02314, allocations: 0.7135 MB / 0.5292 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004296/0.02357, allocations: 130.8 kB / 0.5294 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.02358, allocations: 3.984 kB / 0.5294 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.02361, allocations: 4 kB / 0.5294 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.02374, allocations: 16 kB / 0.5294 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.02376, allocations: 11.92 kB / 0.5294 GB, free: 8.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.02478, allocations: 110.2 kB / 0.5295 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/0.02488, allocations: 27.97 kB / 0.5295 GB, free: 7.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002895/0.02516, allocations: 159.3 kB / 0.5297 GB, free: 7.746 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.72e-05/0.02524, allocations: 23.89 kB / 0.5297 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.452e-05/0.02532, allocations: 21.84 kB / 0.5297 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.02532, allocations: 0.6562 kB / 0.5297 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.02533, allocations: 4 kB / 0.5297 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.02534, allocations: 7.422 kB / 0.5297 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.0257, allocations: 185.1 kB / 0.5299 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.02571, allocations: 3.938 kB / 0.5299 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.02577, allocations: 11.98 kB / 0.5299 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.02578, allocations: 4 kB / 0.5299 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.0258, allocations: 0 / 0.5299 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.526e-05/0.02581, allocations: 8 kB / 0.5299 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.02582, allocations: 0.9375 kB / 0.5299 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005337/0.02635, allocations: 237.2 kB / 0.5302 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.02641, allocations: 18.64 kB / 0.5302 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.02646, allocations: 8 kB / 0.5302 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.02655, allocations: 0 / 0.5302 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.02662, allocations: 19.97 kB / 0.5302 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.02664, allocations: 7.984 kB / 0.5302 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002918/0.02693, allocations: 173.2 kB / 0.5304 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02693, allocations: 0 / 0.5304 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006095/0.02754, allocations: 72.45 kB / 0.5305 GB, free: 6.902 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002553/0.0278, allocations: 113.6 kB / 0.5306 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.0291, allocations: 0.6003 MB / 0.5311 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02911, allocations: 0 / 0.5311 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.02928, allocations: 59.86 kB / 0.5312 GB, free: 6.051 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007224/0.03, allocations: 66.47 kB / 0.5313 GB, free: 5.992 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009908/0.03099, allocations: 348.1 kB / 0.5316 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.03118, allocations: 123 kB / 0.5317 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001/0.03128, allocations: 23.03 kB / 0.5317 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.03134, allocations: 16.5 kB / 0.5318 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of SimCode: time 7.22e-07/0.03134, allocations: 5.531 kB / 0.5318 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of Templates: time 0.01511/0.04645, allocations: 5.053 MB / 0.5367 GB, free: 0.6602 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.245946223032661]