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.001511/0.001511, allocations: 80.75 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.001676/0.001676, 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.01/1.01, 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.8069/0.8069, allocations: 154.9 MB / 415.1 MB, free: 216 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.333e-06/1.333e-06, allocations: 0 / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.928e-05/2.061e-05, allocations: 4.422 kB / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001455/0.001476, allocations: 0.9284 MB / 481.3 MB, free: 5.625 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.002849, allocations: 1.503 MB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.002901, allocations: 1.438 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.002934, allocations: 12.47 kB / 482.8 MB, free: 4.105 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.003062, allocations: 62.84 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.003663, allocations: 435.4 kB / 483.3 MB, free: 3.637 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.004, allocations: 0.4889 MB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.546e-05/0.004086, allocations: 34.59 kB / 483.8 MB, free: 3.121 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.004288, allocations: 263.6 kB / 484.1 MB, free: 2.863 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.004443, allocations: 128.3 kB / 484.2 MB, free: 2.738 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.816e-05/0.004491, allocations: 52.66 kB / 484.3 MB, free: 2.688 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.08e-05/0.004571, allocations: 67.97 kB / 484.3 MB, free: 2.621 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.004599, allocations: 29.11 kB / 484.4 MB, free: 2.594 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.004698, allocations: 143.8 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.004955, allocations: 347 kB / 484.8 MB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004957, allocations: 3.031 kB / 484.8 MB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004958, allocations: 0 / 484.8 MB, free: 2.113 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004961, allocations: 0 / 484.8 MB, free: 2.113 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.0004729/0.005434, allocations: 0.5212 MB / 485.4 MB, free: 1.543 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.005464, allocations: 12.03 kB / 485.4 MB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.005517, allocations: 32.89 kB / 485.4 MB, free: 1.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.005626, allocations: 162 kB / 485.6 MB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.005647, allocations: 12.38 kB / 485.6 MB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.005681, allocations: 25.02 kB / 485.6 MB, free: 1.285 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005789, allocations: 109.2 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.005796, allocations: 1.094 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005804, allocations: 4.312 kB / 485.7 MB, free: 1.156 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.00581, allocations: 4.375 kB / 485.7 MB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.005846, allocations: 29.72 kB / 485.7 MB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.006262, allocations: 0.521 MB / 486.3 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.307e-05/0.006346, allocations: 103 kB / 486.4 MB, free: 452 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.006377, allocations: 32.05 kB / 486.4 MB, free: 408 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.006385, allocations: 9.438 kB / 486.4 MB, free: 400 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.006515, allocations: 159.2 kB / 486.6 MB, free: 216 kB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.006516, allocations: 0.5312 kB / 486.6 MB, free: 216 kB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001817/0.006698, allocations: 135.8 kB / 486.7 MB, free: 76 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.006758, allocations: 141 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.006879, allocations: 221.6 kB / 487 MB, free: 15.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.006911, allocations: 37.7 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.006966, allocations: 121.3 kB / 487.2 MB, free: 15.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.006988, allocations: 39.72 kB / 487.2 MB, free: 15.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.007079, allocations: 91.33 kB / 487.3 MB, free: 15.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.00716, allocations: 330.8 kB / 487.7 MB, free: 15.05 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.0073, allocations: 195 kB / 487.8 MB, free: 14.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.007461, allocations: 277.5 kB / 488.1 MB, free: 14.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.007649, allocations: 304 kB / 488.4 MB, free: 14.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.007652, allocations: 4 kB / 488.4 MB, free: 14.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003491/0.008001, allocations: 0.5005 MB / 488.9 MB, free: 13.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.008062, allocations: 143.6 kB / 489.1 MB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.008068, allocations: 0 / 489.1 MB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.00808, allocations: 5.156 kB / 489.1 MB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.008131, allocations: 15.94 kB / 489.1 MB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.008137, allocations: 7.984 kB / 489.1 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.008364, allocations: 85.75 kB / 489.2 MB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.008391, allocations: 16.77 kB / 489.2 MB, free: 13.3 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 8.594e-05/0.008477, allocations: 139 kB / 489.3 MB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.008502, allocations: 23.91 kB / 489.3 MB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.00853, allocations: 18.28 kB / 489.4 MB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.008533, allocations: 7.938 kB / 489.4 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.008535, allocations: 0 / 489.4 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.00854, allocations: 8.734 kB / 489.4 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.008649, allocations: 125.7 kB / 489.5 MB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.00865, allocations: 0.5 kB / 489.5 MB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.008672, allocations: 12.59 kB / 489.5 MB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008675, allocations: 4.781 kB / 489.5 MB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.008683, allocations: 11.92 kB / 489.5 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008685, allocations: 0 / 489.5 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008686, allocations: 0.9375 kB / 489.5 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.0088, allocations: 135.6 kB / 489.7 MB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.008821, allocations: 21.08 kB / 489.7 MB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.008837, allocations: 11.92 kB / 489.7 MB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.778e-05/0.008864, allocations: 4 kB / 489.7 MB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.008892, allocations: 19.91 kB / 489.7 MB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.008897, allocations: 4.531 kB / 489.7 MB, free: 12.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.008946, allocations: 75.78 kB / 489.8 MB, free: 12.63 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008946, allocations: 0 / 489.8 MB, free: 12.63 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001774/0.009124, allocations: 71.89 kB / 489.9 MB, free: 12.56 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.0001078/0.009232, allocations: 91.44 kB / 490 MB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.009552, allocations: 0.5189 MB / 490.5 MB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.009555, allocations: 0 / 490.5 MB, free: 11.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.009596, allocations: 44.77 kB / 490.5 MB, free: 11.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.009795, allocations: 68.16 kB / 490.6 MB, free: 11.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.01012, allocations: 323.2 kB / 490.9 MB, free: 11.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.01016, allocations: 80.67 kB / 491 MB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.27e-05/0.0102, allocations: 19.97 kB / 491 MB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.01037, allocations: 123.3 kB / 491.1 MB, free: 11.18 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01037, allocations: 0 / 491.1 MB, free: 11.18 MB / 458.7 MB Notification: Performance of Templates: time 0.006117/0.01649, allocations: 5.479 MB / 496.6 MB, free: 6.086 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 -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.8022101959213614]