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.0009506/0.0009506, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.002057, 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.0007603/0.0007603, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009512/0.001712, 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 0.9813/0.9813, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09673/1.078, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8207/0.8207, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.3372/1.158, allocations: 49.13 MB / 448.4 MB, free: 6.02 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-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 3.096e-06/3.096e-06, allocations: 3.984 kB / 449.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.726e-05, allocations: 4.875 kB / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002529/0.002556, allocations: 0.9675 MB / 450.7 MB, free: 3.812 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004504, allocations: 1.494 MB / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.779e-05/0.004592, allocations: 0 / 452.1 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.004635, allocations: 12.69 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.004795, allocations: 68.44 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.005741, allocations: 418.5 kB / 452.6 MB, free: 1.836 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006442/0.006385, allocations: 0.4888 MB / 453.1 MB, free: 1.359 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.006519, allocations: 38.52 kB / 453.2 MB, free: 1.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005166/0.007036, allocations: 297.5 kB / 453.5 MB, free: 1.027 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.0073, allocations: 131.6 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.007388, allocations: 48.91 kB / 453.6 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.007538, allocations: 60 kB / 453.7 MB, free: 0.793 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.007581, allocations: 35.84 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.007727, allocations: 101.7 kB / 453.8 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.00811, allocations: 279.2 kB / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.878e-05/0.008128, allocations: 0 / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.00813, allocations: 0 / 454.1 MB, free: 396 kB / 426.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.008152, allocations: 0 / 454.1 MB, free: 396 kB / 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.0008823/0.009035, allocations: 0.5809 MB / 454.7 MB, free: 15.76 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.009074, allocations: 8.031 kB / 454.7 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.00916, allocations: 38.17 kB / 454.7 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.009318, allocations: 156.9 kB / 454.9 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.009356, allocations: 16.38 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.009404, allocations: 17 kB / 454.9 MB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.009631, allocations: 116.1 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.009641, allocations: 2.734 kB / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.009651, allocations: 384 / 455 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.009659, allocations: 4.375 kB / 455 MB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.009722, allocations: 36.45 kB / 455.1 MB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.01038, allocations: 0.5233 MB / 455.6 MB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.0105, allocations: 95.58 kB / 455.7 MB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.01054, allocations: 35.47 kB / 455.7 MB, free: 14.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.01056, allocations: 11.94 kB / 455.7 MB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.01076, allocations: 155.8 kB / 455.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.01077, allocations: 0.5625 kB / 455.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000278/0.01105, allocations: 137.1 kB / 456 MB, free: 14.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.01111, allocations: 132.5 kB / 456.1 MB, free: 14.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.0113, allocations: 217 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.01134, allocations: 38.83 kB / 456.4 MB, free: 13.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.01143, allocations: 126.9 kB / 456.5 MB, free: 13.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.01147, allocations: 39.69 kB / 456.6 MB, free: 13.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.01158, allocations: 86.7 kB / 456.6 MB, free: 13.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.01166, allocations: 330.8 kB / 457 MB, free: 13.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.01181, allocations: 203 kB / 457.2 MB, free: 13.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.01197, allocations: 294.4 kB / 457.4 MB, free: 12.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.01217, allocations: 318.8 kB / 457.8 MB, free: 12.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.01217, allocations: 0.625 kB / 457.8 MB, free: 12.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003664/0.01254, allocations: 0.5218 MB / 458.3 MB, free: 11.76 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003291/0.01287, allocations: 134.8 kB / 458.4 MB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01287, allocations: 4 kB / 458.4 MB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.01288, allocations: 4 kB / 458.4 MB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/0.01294, allocations: 8 kB / 458.4 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.01295, allocations: 11.92 kB / 458.4 MB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.01319, allocations: 86.53 kB / 458.5 MB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.01321, allocations: 23.98 kB / 458.5 MB, free: 11.47 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 8.502e-05/0.0133, allocations: 131 kB / 458.7 MB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.01332, allocations: 31.91 kB / 458.7 MB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.01335, allocations: 18 kB / 458.7 MB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01335, allocations: 4 kB / 458.7 MB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01336, allocations: 0.5938 kB / 458.7 MB, free: 11.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.01336, allocations: 9.25 kB / 458.7 MB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.01347, allocations: 117.8 kB / 458.9 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01347, allocations: 4.562 kB / 458.9 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.0135, allocations: 8.875 kB / 458.9 MB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.01352, allocations: 23.78 kB / 458.9 MB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01352, allocations: 4 kB / 458.9 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.01353, allocations: 0.5312 kB / 458.9 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.01353, allocations: 5.688 kB / 458.9 MB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.01353, allocations: 7.875 kB / 458.9 MB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.01365, allocations: 142.9 kB / 459 MB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.01367, allocations: 11.94 kB / 459.1 MB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.0137, allocations: 0 / 459.1 MB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.01373, allocations: 20.88 kB / 459.1 MB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.01374, allocations: 4 kB / 459.1 MB, free: 10.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.041e-05/0.01379, allocations: 75.25 kB / 459.2 MB, free: 10.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01379, allocations: 0.625 kB / 459.2 MB, free: 10.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.01398, allocations: 67.94 kB / 459.2 MB, free: 10.75 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.0001206/0.0141, allocations: 91.45 kB / 459.3 MB, free: 10.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.01444, allocations: 0.5281 MB / 459.8 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.01445, allocations: 0 / 459.8 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.362e-05/0.0145, allocations: 48.72 kB / 459.9 MB, free: 10 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.01472, allocations: 77.5 kB / 460 MB, free: 9.934 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.01529, allocations: 338.3 kB / 460.3 MB, free: 9.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.01534, allocations: 80.69 kB / 460.4 MB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.01539, allocations: 18.83 kB / 460.4 MB, free: 9.457 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.01557, allocations: 131.2 kB / 460.5 MB, free: 9.328 MB / 442.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01557, allocations: 0.875 kB / 460.5 MB, free: 9.328 MB / 442.7 MB Notification: Performance of Templates: time 0.01145/0.02703, allocations: 5.687 MB / 466.2 MB, free: 4.047 MB / 442.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 -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.817696222104132]