Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001867/0.001867, allocations: 93.47 kB / 19.44 MB, free: 336 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.002039/0.002039, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.27 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.323/1.323, allocations: 154.8 MB / 414.3 MB, free: 376 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.272e-06, allocations: 4 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/3.133e-05, allocations: 2.969 kB / 0.5199 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001858/0.00189, allocations: 0.7173 MB / 0.5206 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.003637, allocations: 1.164 MB / 0.5217 GB, free: 364 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.003683, allocations: 4 kB / 0.5217 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.003708, allocations: 3.938 kB / 0.5217 GB, free: 356 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.003793, allocations: 7.922 kB / 0.5217 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.00427, allocations: 133.3 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.004475, allocations: 123.8 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.004562, allocations: 11.98 kB / 0.522 GB, free: 80 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.004683, allocations: 60.66 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004806, allocations: 35.88 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.004842, allocations: 17.41 kB / 0.5221 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.425e-05/0.004916, allocations: 23.98 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.004939, allocations: 11.94 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.71e-05/0.005007, allocations: 29.33 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.005264, allocations: 155.5 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005266, allocations: 0 / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005267, allocations: 4 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.005271, allocations: 1.812 kB / 0.5223 GB, free: 15.75 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005931/0.005864, allocations: 425.8 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.005899, allocations: 8.031 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.208e-05/0.005961, allocations: 12.94 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.006115, allocations: 116.6 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.006138, allocations: 6.562 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.00616, allocations: 8.375 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.006265, allocations: 46.19 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006273, allocations: 192 / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.006284, allocations: 4.375 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.006289, allocations: 384 / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.242e-05/0.006341, allocations: 12.5 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.006814, allocations: 324.7 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.006899, allocations: 39 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.006935, allocations: 20.36 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.006945, allocations: 0 / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.007084, allocations: 74.23 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.007085, allocations: 0 / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0002325/0.007317, allocations: 81.58 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.007362, allocations: 52.34 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.007537, allocations: 196.3 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.007568, allocations: 31.23 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.00767, allocations: 142.8 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.00769, allocations: 11.95 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.007769, allocations: 35.36 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002699/0.008039, allocations: 0.4894 MB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.008172, allocations: 77.67 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.008327, allocations: 108.7 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.008484, allocations: 110.7 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008486, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003646/0.00885, allocations: 212.9 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.626e-05/0.008906, allocations: 42.3 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.008914, allocations: 5 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.00893, allocations: 4 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.738e-05/0.008977, allocations: 3.984 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.008984, allocations: 7.25 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.009148, allocations: 15.98 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.009169, allocations: 4 kB / 0.5249 GB, free: 12.81 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * 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.0001349/0.009304, allocations: 168.5 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.009329, allocations: 20.11 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.009351, allocations: 4 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.009355, allocations: 3.984 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.009358, allocations: 3.031 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.009361, allocations: 0 / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.009509, allocations: 132.6 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00951, allocations: 3.938 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.009527, allocations: 7.984 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009529, allocations: 0 / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.009538, allocations: 3.938 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.009539, allocations: 0 / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00954, allocations: 5.5 kB / 0.5253 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.009695, allocations: 96.39 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.009716, allocations: 15.94 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.009732, allocations: 3.938 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.913e-05/0.009751, allocations: 4.438 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.009791, allocations: 0.5 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.009796, allocations: 4 kB / 0.5254 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000108/0.009904, allocations: 145.9 kB / 0.5255 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.009904, allocations: 0 / 0.5255 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002135/0.01012, allocations: 19.98 kB / 0.5256 GB, free: 12.12 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001602/0.01028, allocations: 99.19 kB / 0.5257 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000316/0.01059, allocations: 191.2 kB / 0.5258 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0106, allocations: 3.938 kB / 0.5258 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.01064, allocations: 19.69 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.01089, allocations: 21.7 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.01125, allocations: 155.5 kB / 0.526 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.124e-05/0.01132, allocations: 67.34 kB / 0.5261 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.01135, allocations: 9.016 kB / 0.5261 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.01138, allocations: 8.5 kB / 0.5261 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.01138, allocations: 0 / 0.5261 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.004849/0.01623, allocations: 1.497 MB / 0.5276 GB, free: 10.07 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.999533841968514]