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.001877/0.001877, allocations: 85.48 kB / 19.44 MB, free: 340 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.002005/0.002005, allocations: 173.2 kB / 22.76 MB, free: 1.656 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.55/1.55, allocations: 177.2 MB / 203.1 MB, free: 5.531 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.318/1.318, allocations: 154.8 MB / 414.4 MB, free: 452 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 2.474e-06/2.474e-06, allocations: 0 / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.629e-05, allocations: 5.125 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002314/0.00235, allocations: 0.9381 MB / 0.5208 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.004613, allocations: 1.464 MB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.00468, allocations: 4 kB / 0.5222 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.92e-05/0.004729, allocations: 15.75 kB / 0.5222 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.004918, allocations: 64.38 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.00593, allocations: 436.8 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005957/0.006526, allocations: 492.8 kB / 0.5232 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.006654, allocations: 33.94 kB / 0.5232 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/0.007018, allocations: 267.5 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.007269, allocations: 132.2 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.13e-05/0.00736, allocations: 48.91 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.007489, allocations: 59.98 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.007546, allocations: 43.78 kB / 0.5237 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.007747, allocations: 136.5 kB / 0.5239 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.008461, allocations: 0.5571 MB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.008466, allocations: 0.5312 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.212e-06/0.008467, allocations: 0.625 kB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.008473, allocations: 3.938 kB / 0.5244 GB, free: 13.58 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.001317/0.009791, allocations: 0.6669 MB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.00983, allocations: 8.031 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.009955, allocations: 41.7 kB / 0.5251 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.01019, allocations: 171.8 kB / 0.5253 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.01023, allocations: 14.12 kB / 0.5253 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/0.01029, allocations: 24.38 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.01054, allocations: 140.8 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01055, allocations: 192 / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.01057, allocations: 384 / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.01057, allocations: 6.125 kB / 0.5255 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.01072, allocations: 59.84 kB / 0.5255 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.01188, allocations: 0.9415 MB / 0.5264 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.01214, allocations: 158.5 kB / 0.5266 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.01224, allocations: 62.73 kB / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.01226, allocations: 0 / 0.5266 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.01257, allocations: 196.8 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 9.22e-07/0.01257, allocations: 0 / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.000554/0.01312, allocations: 246 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.01323, allocations: 134.6 kB / 0.5272 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.0136, allocations: 336.3 kB / 0.5275 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-05/0.01368, allocations: 37.7 kB / 0.5276 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.01387, allocations: 187.3 kB / 0.5277 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.01392, allocations: 39.73 kB / 0.5278 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.01413, allocations: 111.3 kB / 0.5279 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003036/0.01443, allocations: 0.5137 MB / 0.5284 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.0149, allocations: 299 kB / 0.5287 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.01556, allocations: 428.2 kB / 0.5291 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.01625, allocations: 433.2 kB / 0.5295 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.01625, allocations: 0 / 0.5295 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001363/0.01761, allocations: 0.7546 MB / 0.5302 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.01774, allocations: 137.8 kB / 0.5304 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.01775, allocations: 7.938 kB / 0.5304 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.01777, allocations: 4 kB / 0.5304 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.01786, allocations: 8.234 kB / 0.5304 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.01788, allocations: 11.92 kB / 0.5304 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/0.01841, allocations: 90.8 kB / 0.5305 GB, free: 6.805 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.453e-05/0.01848, allocations: 23.98 kB / 0.5305 GB, free: 6.781 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.0002133/0.01869, allocations: 196.5 kB / 0.5307 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.912e-05/0.01874, allocations: 27.89 kB / 0.5307 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.0188, allocations: 21.28 kB / 0.5307 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.0188, allocations: 9.484 kB / 0.5307 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.01881, allocations: 0 / 0.5307 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01881, allocations: 0 / 0.5307 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.0191, allocations: 228.4 kB / 0.531 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.0191, allocations: 0.5 kB / 0.531 GB, free: 6.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.01914, allocations: 11 kB / 0.531 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01914, allocations: 4 kB / 0.531 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.01916, allocations: 12 kB / 0.531 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01917, allocations: 0 / 0.531 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01917, allocations: 3.984 kB / 0.531 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.01956, allocations: 252.8 kB / 0.5312 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.0196, allocations: 19.89 kB / 0.5312 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01963, allocations: 4 kB / 0.5313 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.01968, allocations: 6.438 kB / 0.5313 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.794e-05/0.01974, allocations: 15.97 kB / 0.5313 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/0.02002, allocations: 8 kB / 0.5313 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002254/0.02025, allocations: 225.1 kB / 0.5315 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02025, allocations: 0 / 0.5315 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003426/0.02059, allocations: 75.88 kB / 0.5316 GB, free: 5.613 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.0001975/0.02079, allocations: 113.5 kB / 0.5317 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009749/0.02176, allocations: 0.7051 MB / 0.5324 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02177, allocations: 0 / 0.5324 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.0219, allocations: 75.59 kB / 0.5324 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.02237, allocations: 70.09 kB / 0.5325 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006862/0.02305, allocations: 372.7 kB / 0.5329 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.02318, allocations: 124.4 kB / 0.533 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.218e-05/0.02324, allocations: 22.91 kB / 0.533 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.02329, allocations: 16.5 kB / 0.533 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.02329, allocations: 4 kB / 0.533 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of Templates: time 0.0105/0.03379, allocations: 5.055 MB / 0.538 GB, free: 15.2 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.117076624999754]