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.001023/0.001023, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001661/0.001661, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.05/1.05, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7562/0.7562, allocations: 154.9 MB / 415.9 MB, free: 240 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 179] 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 1.873e-06/1.873e-06, allocations: 0 / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.343e-05, allocations: 5.375 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001611/0.001635, allocations: 0.9155 MB / 0.5228 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.002998, allocations: 1.489 MB / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.003055, allocations: 0 / 0.5242 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.00309, allocations: 20.36 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.00321, allocations: 60.42 kB / 0.5243 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.003846, allocations: 432.9 kB / 0.5247 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.004198, allocations: 0.492 MB / 0.5252 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.004302, allocations: 34.95 kB / 0.5252 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.004521, allocations: 259.6 kB / 0.5255 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.004684, allocations: 135.7 kB / 0.5256 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.004734, allocations: 53.75 kB / 0.5257 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-05/0.004819, allocations: 52 kB / 0.5257 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.004852, allocations: 39.83 kB / 0.5258 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.00496, allocations: 139.7 kB / 0.5259 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.00524, allocations: 339.1 kB / 0.5262 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.005243, allocations: 1.75 kB / 0.5262 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005244, allocations: 4 kB / 0.5262 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.005248, allocations: 0 / 0.5262 GB, free: 13.11 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.000541/0.005788, allocations: 0.6623 MB / 0.5269 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.00582, allocations: 8.781 kB / 0.5269 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.543e-05/0.005885, allocations: 36.8 kB / 0.5269 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.005994, allocations: 165.2 kB / 0.5271 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.006017, allocations: 20.31 kB / 0.5271 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.006051, allocations: 20.38 kB / 0.5271 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.006167, allocations: 125.6 kB / 0.5272 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.006174, allocations: 1.469 kB / 0.5272 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.006184, allocations: 4.359 kB / 0.5272 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.006189, allocations: 4.375 kB / 0.5272 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.006226, allocations: 25.83 kB / 0.5273 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.006802, allocations: 0.8757 MB / 0.5281 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.966e-05/0.006902, allocations: 130.4 kB / 0.5282 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.006936, allocations: 46.69 kB / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.006943, allocations: 0 / 0.5283 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.007092, allocations: 177.5 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.007094, allocations: 0.5625 kB / 0.5285 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002462/0.00734, allocations: 178 kB / 0.5286 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.007395, allocations: 133.5 kB / 0.5288 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.007541, allocations: 280.2 kB / 0.529 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.007575, allocations: 38.48 kB / 0.5291 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.007796, allocations: 179.3 kB / 0.5292 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.007821, allocations: 39.72 kB / 0.5293 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.007928, allocations: 96.38 kB / 0.5294 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.008039, allocations: 0.5079 MB / 0.5299 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.008193, allocations: 212 kB / 0.5301 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.008387, allocations: 324.2 kB / 0.5304 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.008606, allocations: 347.1 kB / 0.5307 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008608, allocations: 0 / 0.5307 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004881/0.009096, allocations: 0.5918 MB / 0.5313 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.785e-05/0.009164, allocations: 138.8 kB / 0.5314 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.00917, allocations: 3.938 kB / 0.5314 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.00918, allocations: 4 kB / 0.5314 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.009234, allocations: 12 kB / 0.5314 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.00924, allocations: 7.938 kB / 0.5314 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.009516, allocations: 93.27 kB / 0.5315 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.009553, allocations: 31.95 kB / 0.5316 GB, free: 7.074 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.0001009/0.009653, allocations: 180 kB / 0.5317 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.009681, allocations: 27.84 kB / 0.5318 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.00971, allocations: 25.27 kB / 0.5318 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.009714, allocations: 4 kB / 0.5318 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.009717, allocations: 4 kB / 0.5318 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.00972, allocations: 0 / 0.5318 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.009843, allocations: 163.5 kB / 0.5319 GB, free: 6.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.009846, allocations: 4 kB / 0.5319 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/0.009874, allocations: 12 kB / 0.532 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.009877, allocations: 3.938 kB / 0.532 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.009884, allocations: 7.984 kB / 0.532 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.009886, allocations: 0 / 0.532 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.009888, allocations: 4 kB / 0.532 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.01006, allocations: 208.7 kB / 0.5322 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.01008, allocations: 19.84 kB / 0.5322 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.0101, allocations: 11.94 kB / 0.5322 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.01013, allocations: 3.984 kB / 0.5322 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.01016, allocations: 17.48 kB / 0.5322 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.01017, allocations: 4 kB / 0.5322 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.253e-05/0.01025, allocations: 189.1 kB / 0.5324 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01025, allocations: 0 / 0.5324 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002165/0.01047, allocations: 74.38 kB / 0.5325 GB, free: 6.066 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.0001259/0.01059, allocations: 108.1 kB / 0.5326 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.01095, allocations: 0.5408 MB / 0.5331 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01095, allocations: 0 / 0.5331 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/0.011, allocations: 47.59 kB / 0.5332 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.01127, allocations: 71.66 kB / 0.5332 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.01164, allocations: 341.9 kB / 0.5336 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.01168, allocations: 77.55 kB / 0.5336 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.388e-05/0.01173, allocations: 21.62 kB / 0.5336 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.01192, allocations: 154.8 kB / 0.5338 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.01192, allocations: 0 / 0.5338 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of Templates: time 0.006742/0.01867, allocations: 5.599 MB / 0.5393 GB, free: 15.25 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: 3.9196813059970737]