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.000943/0.000943, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009946/0.0009946, allocations: 181 kB / 23.36 MB, free: 1.133 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.047/1.047, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.9841/0.9841, allocations: 154.9 MB / 415.1 MB, free: 248 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 2.665e-06/2.665e-06, allocations: 0 / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.857e-05/2.123e-05, allocations: 7.125 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001648/0.001669, allocations: 0.9662 MB / 481.4 MB, free: 5.605 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.003649, allocations: 1.503 MB / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.003718, allocations: 0.5625 kB / 482.9 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.003755, allocations: 11.81 kB / 482.9 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003912, allocations: 65.06 kB / 483 MB, free: 4.039 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.004877, allocations: 435.2 kB / 483.4 MB, free: 3.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005245/0.005401, allocations: 0.4886 MB / 483.9 MB, free: 3.133 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.005531, allocations: 31.11 kB / 483.9 MB, free: 3.102 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.00585, allocations: 267.5 kB / 484.2 MB, free: 2.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.006063, allocations: 133 kB / 484.3 MB, free: 2.711 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.819e-05/0.006121, allocations: 48 kB / 484.3 MB, free: 2.664 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.006268, allocations: 63.98 kB / 484.4 MB, free: 2.602 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.006313, allocations: 36.91 kB / 484.4 MB, free: 2.566 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.006453, allocations: 143.7 kB / 484.6 MB, free: 2.426 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.006867, allocations: 335.1 kB / 484.9 MB, free: 2.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.006871, allocations: 4.781 kB / 484.9 MB, free: 2.094 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.006872, allocations: 0 / 484.9 MB, free: 2.094 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.006879, allocations: 0.8438 kB / 484.9 MB, free: 2.094 MB / 442.7 MB 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.0008163/0.007695, allocations: 0.529 MB / 485.4 MB, free: 1.516 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.007752, allocations: 12.03 kB / 485.5 MB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.007835, allocations: 33.48 kB / 485.5 MB, free: 1.473 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.008039, allocations: 158.3 kB / 485.6 MB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.008076, allocations: 12.38 kB / 485.6 MB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.008116, allocations: 28.36 kB / 485.7 MB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.008305, allocations: 112.7 kB / 485.8 MB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.008322, allocations: 4.906 kB / 485.8 MB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.008338, allocations: 12.3 kB / 485.8 MB, free: 1.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.008348, allocations: 6.469 kB / 485.8 MB, free: 1.109 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.008399, allocations: 20.62 kB / 485.8 MB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.009133, allocations: 0.5279 MB / 486.4 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.009249, allocations: 95.92 kB / 486.5 MB, free: 416 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.009288, allocations: 32.48 kB / 486.5 MB, free: 372 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.009302, allocations: 8.781 kB / 486.5 MB, free: 364 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.009499, allocations: 155.7 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/0.0095, allocations: 0 / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002195/0.00972, allocations: 134.9 kB / 486.8 MB, free: 44 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.009799, allocations: 137.1 kB / 486.9 MB, free: 15.88 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.00996, allocations: 217.6 kB / 487.1 MB, free: 15.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.009994, allocations: 37.7 kB / 487.2 MB, free: 15.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.487e-05/0.01007, allocations: 135.4 kB / 487.3 MB, free: 15.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.01009, allocations: 31.73 kB / 487.3 MB, free: 15.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.0102, allocations: 86.23 kB / 487.4 MB, free: 15.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.0103, allocations: 335.3 kB / 487.7 MB, free: 15.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.01046, allocations: 191 kB / 487.9 MB, free: 14.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.01065, allocations: 278.1 kB / 488.2 MB, free: 14.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.01087, allocations: 315.5 kB / 488.5 MB, free: 14.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01088, allocations: 4.656 kB / 488.5 MB, free: 14.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004078/0.01128, allocations: 0.4976 MB / 489 MB, free: 13.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.824e-05/0.01136, allocations: 138.8 kB / 489.1 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01137, allocations: 4.469 kB / 489.1 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01139, allocations: 6.031 kB / 489.1 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.01145, allocations: 19.94 kB / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01146, allocations: 7.984 kB / 489.2 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.01172, allocations: 82.16 kB / 489.3 MB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.01175, allocations: 19.98 kB / 489.3 MB, free: 13.26 MB / 458.7 MB 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.000112/0.01186, allocations: 135.5 kB / 489.4 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.01189, allocations: 23.91 kB / 489.4 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.01192, allocations: 21.34 kB / 489.5 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01193, allocations: 0.9844 kB / 489.5 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01193, allocations: 5.094 kB / 489.5 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.01194, allocations: 3.984 kB / 489.5 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.01207, allocations: 121.8 kB / 489.6 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01207, allocations: 0.8125 kB / 489.6 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/0.01209, allocations: 11.94 kB / 489.6 MB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.0121, allocations: 4.75 kB / 489.6 MB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01211, allocations: 11.92 kB / 489.6 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01211, allocations: 6 kB / 489.6 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01211, allocations: 0 / 489.6 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.01226, allocations: 136.4 kB / 489.7 MB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.01228, allocations: 27.84 kB / 489.8 MB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.0123, allocations: 3.938 kB / 489.8 MB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.01234, allocations: 8 kB / 489.8 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.01237, allocations: 17.12 kB / 489.8 MB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.01238, allocations: 8 kB / 489.8 MB, free: 12.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.01244, allocations: 70.78 kB / 489.9 MB, free: 12.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01244, allocations: 0.75 kB / 489.9 MB, free: 12.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.01265, allocations: 71.89 kB / 490 MB, free: 12.54 MB / 458.7 MB 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.0001444/0.0128, allocations: 90.66 kB / 490 MB, free: 12.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.0132, allocations: 0.5202 MB / 490.6 MB, free: 11.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.0132, allocations: 4 kB / 490.6 MB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/0.01326, allocations: 49.16 kB / 490.6 MB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.01352, allocations: 63.56 kB / 490.7 MB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.01398, allocations: 333.5 kB / 491 MB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.362e-05/0.01403, allocations: 71.98 kB / 491.1 MB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.364e-05/0.01408, allocations: 24.3 kB / 491.1 MB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.01429, allocations: 124.8 kB / 491.2 MB, free: 11.14 MB / 458.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01429, allocations: 0 / 491.2 MB, free: 11.14 MB / 458.7 MB Notification: Performance of Templates: time 0.007661/0.02195, allocations: 5.468 MB / 496.7 MB, free: 6.047 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -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.925907060969621]