Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009588/0.0009588, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001348/0.002306, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001188/0.001188, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001435/0.002624, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.151/1.188, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8078/0.8078, allocations: 154.6 MB / 398.5 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2877/1.096, allocations: 49.03 MB / 447.6 MB, free: 6.719 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 448.9 MB, free: 5.445 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.086e-05, allocations: 3.438 kB / 448.9 MB, free: 5.441 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001713/0.001733, allocations: 0.9798 MB / 449.8 MB, free: 4.508 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.00304, allocations: 1.487 MB / 451.3 MB, free: 3.008 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.003097, allocations: 4.656 kB / 451.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.003127, allocations: 15.75 kB / 451.4 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 9.816e-05/0.003225, allocations: 66.95 kB / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006047/0.00383, allocations: 415.9 kB / 451.8 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.00423, allocations: 498.3 kB / 452.3 MB, free: 2.059 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.004326, allocations: 38.47 kB / 452.3 MB, free: 2.02 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.004574, allocations: 301.5 kB / 452.6 MB, free: 1.723 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.004731, allocations: 128.4 kB / 452.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.919e-05/0.00478, allocations: 51.94 kB / 452.8 MB, free: 1.547 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.00488, allocations: 65.95 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.004936, allocations: 27.92 kB / 452.9 MB, free: 1.457 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.005057, allocations: 99.88 kB / 453 MB, free: 1.359 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.005339, allocations: 279.2 kB / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.005355, allocations: 0 / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005355, allocations: 0 / 453.3 MB, free: 1.086 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.005374, allocations: 0.5625 kB / 453.3 MB, free: 1.086 MB / 426.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.000628/0.006002, allocations: 0.5751 MB / 453.9 MB, free: 472 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.00603, allocations: 12.03 kB / 453.9 MB, free: 460 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.006087, allocations: 41.03 kB / 453.9 MB, free: 424 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.006206, allocations: 153 kB / 454.1 MB, free: 248 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.006234, allocations: 12.38 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.006271, allocations: 20.38 kB / 454.1 MB, free: 216 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.006411, allocations: 120.7 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.006421, allocations: 1.438 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.00643, allocations: 384 / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.006437, allocations: 4.375 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.333e-05/0.006481, allocations: 31.84 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.00704, allocations: 0.5231 MB / 454.8 MB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.007159, allocations: 100.5 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.007197, allocations: 31.48 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.00721, allocations: 15.88 kB / 454.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.007395, allocations: 150.6 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.132e-06/0.007396, allocations: 4.844 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002354/0.007631, allocations: 136.7 kB / 455.2 MB, free: 14.99 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.007701, allocations: 137.3 kB / 455.3 MB, free: 14.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.007848, allocations: 217 kB / 455.5 MB, free: 14.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.007882, allocations: 38.61 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.007945, allocations: 120.5 kB / 455.7 MB, free: 14.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.007971, allocations: 35.69 kB / 455.7 MB, free: 14.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-05/0.00807, allocations: 82.25 kB / 455.8 MB, free: 14.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.008166, allocations: 339.4 kB / 456.1 MB, free: 13.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.008312, allocations: 203 kB / 456.3 MB, free: 13.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.008473, allocations: 286.1 kB / 456.6 MB, free: 13.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.008676, allocations: 323.2 kB / 456.9 MB, free: 13.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.008678, allocations: 0.6875 kB / 456.9 MB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003674/0.009046, allocations: 0.5162 MB / 457.5 MB, free: 12.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/0.009117, allocations: 135.5 kB / 457.6 MB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.009123, allocations: 7.984 kB / 457.6 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.009135, allocations: 4.875 kB / 457.6 MB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.91e-05/0.009195, allocations: 15.94 kB / 457.6 MB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.009201, allocations: 8.609 kB / 457.6 MB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.009434, allocations: 86.34 kB / 457.7 MB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.009461, allocations: 19.98 kB / 457.7 MB, free: 12.17 MB / 442.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 9.136e-05/0.009552, allocations: 132.1 kB / 457.9 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.009577, allocations: 31.91 kB / 457.9 MB, free: 12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.009606, allocations: 18.5 kB / 457.9 MB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.00961, allocations: 4 kB / 457.9 MB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.009613, allocations: 3.938 kB / 457.9 MB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.00962, allocations: 4.516 kB / 457.9 MB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.009732, allocations: 127.4 kB / 458 MB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.009734, allocations: 0 / 458 MB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.009758, allocations: 12 kB / 458.1 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.009778, allocations: 25.09 kB / 458.1 MB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.009782, allocations: 7.984 kB / 458.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.009787, allocations: 1.219 kB / 458.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.00979, allocations: 4 kB / 458.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009791, allocations: 0 / 458.1 MB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.009919, allocations: 137.8 kB / 458.2 MB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.009937, allocations: 15.92 kB / 458.2 MB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.578e-05/0.009963, allocations: 1.156 kB / 458.2 MB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.009993, allocations: 15.97 kB / 458.3 MB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.009998, allocations: 4 kB / 458.3 MB, free: 11.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.122e-05/0.01005, allocations: 75.69 kB / 458.3 MB, free: 11.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01005, allocations: 0 / 458.3 MB, free: 11.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.01023, allocations: 67.94 kB / 458.4 MB, free: 11.45 MB / 442.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.0001083/0.01034, allocations: 94.38 kB / 458.5 MB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.01071, allocations: 0.5198 MB / 459 MB, free: 10.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.01071, allocations: 9.203 kB / 459 MB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.01076, allocations: 48.77 kB / 459.1 MB, free: 10.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.01097, allocations: 78.62 kB / 459.1 MB, free: 10.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005843/0.01156, allocations: 341.5 kB / 459.5 MB, free: 10.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.617e-05/0.01161, allocations: 75.98 kB / 459.6 MB, free: 10.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.644e-05/0.01167, allocations: 19.38 kB / 459.6 MB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.01186, allocations: 131.2 kB / 459.7 MB, free: 10.03 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01186, allocations: 1.5 kB / 459.7 MB, free: 10.03 MB / 442.7 MB Notification: Performance of Templates: time 0.006936/0.01879, allocations: 5.679 MB / 465.4 MB, free: 4.746 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7950720358639956]