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.001172/0.001172, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001837/0.003009, allocations: 440 kB / 10.41 MB, free: 284 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.001079/0.001079, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002637, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.972/0.972, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.073, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.8129/0.8129, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2921/1.105, allocations: 49.13 MB / 448.6 MB, free: 5.902 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 1.723e-06/1.723e-06, allocations: 0 / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.257e-05, allocations: 2.312 kB / 449.9 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001907/0.00193, allocations: 0.9828 MB / 450.9 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.004404, allocations: 1.49 MB / 452.4 MB, free: 2.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.238e-05/0.004467, allocations: 4.547 kB / 452.4 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.004505, allocations: 15.75 kB / 452.4 MB, free: 2.141 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.004626, allocations: 60.75 kB / 452.5 MB, free: 2.098 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.005348, allocations: 421.7 kB / 452.9 MB, free: 1.688 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.005843, allocations: 495.4 kB / 453.4 MB, free: 1.219 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.005955, allocations: 35.44 kB / 453.4 MB, free: 1.184 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.006292, allocations: 297.5 kB / 453.7 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.006498, allocations: 133.1 kB / 453.8 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.006568, allocations: 48 kB / 453.9 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.006697, allocations: 67.92 kB / 454 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.006739, allocations: 31.86 kB / 454 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.006862, allocations: 100.8 kB / 454.1 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.007211, allocations: 275.3 kB / 454.4 MB, free: 256 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.007224, allocations: 1.281 kB / 454.4 MB, free: 256 kB / 426.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007225, allocations: 0 / 454.4 MB, free: 256 kB / 426.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.007235, allocations: 0 / 454.4 MB, free: 256 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.0006958/0.00793, allocations: 0.5762 MB / 454.9 MB, free: 15.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.007967, allocations: 12.56 kB / 454.9 MB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.00804, allocations: 42.45 kB / 455 MB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.008174, allocations: 156.9 kB / 455.1 MB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.0082, allocations: 12.38 kB / 455.1 MB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.008248, allocations: 20.38 kB / 455.2 MB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.00839, allocations: 122.3 kB / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.008398, allocations: 192 / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.008407, allocations: 2.219 kB / 455.3 MB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.008415, allocations: 8.312 kB / 455.3 MB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.56e-05/0.008461, allocations: 23.86 kB / 455.3 MB, free: 15.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.009019, allocations: 0.5333 MB / 455.9 MB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.009124, allocations: 91.86 kB / 455.9 MB, free: 14.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.009158, allocations: 32.27 kB / 456 MB, free: 14.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.009169, allocations: 7.938 kB / 456 MB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.009346, allocations: 152 kB / 456.1 MB, free: 14.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.009347, allocations: 0 / 456.1 MB, free: 14.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002664/0.009614, allocations: 138.1 kB / 456.3 MB, free: 14.15 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.009672, allocations: 141.3 kB / 456.4 MB, free: 13.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.009832, allocations: 221 kB / 456.6 MB, free: 13.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.009873, allocations: 38.77 kB / 456.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.009947, allocations: 118.9 kB / 456.8 MB, free: 13.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.00998, allocations: 39.67 kB / 456.8 MB, free: 13.56 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.01011, allocations: 82.25 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.01027, allocations: 338.8 kB / 457.2 MB, free: 13.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.01047, allocations: 204 kB / 457.4 MB, free: 12.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.0107, allocations: 285.5 kB / 457.7 MB, free: 12.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.01096, allocations: 319.4 kB / 458 MB, free: 12.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01097, allocations: 0.875 kB / 458 MB, free: 12.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004916/0.01146, allocations: 0.52 MB / 458.5 MB, free: 11.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-05/0.01154, allocations: 135.4 kB / 458.7 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01155, allocations: 1.875 kB / 458.7 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.01156, allocations: 8.562 kB / 458.7 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.01162, allocations: 15.94 kB / 458.7 MB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01163, allocations: 4.625 kB / 458.7 MB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.01216, allocations: 85.78 kB / 458.8 MB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.01227, allocations: 24.5 kB / 458.8 MB, free: 11.33 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 0.0001606/0.01243, allocations: 135.7 kB / 458.9 MB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.01247, allocations: 27.91 kB / 459 MB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.01251, allocations: 13.34 kB / 459 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01251, allocations: 4.906 kB / 459 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01251, allocations: 0 / 459 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.01252, allocations: 3.984 kB / 459 MB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.01266, allocations: 126.5 kB / 459.1 MB, free: 11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01266, allocations: 0 / 459.1 MB, free: 11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.0127, allocations: 16.56 kB / 459.1 MB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.01273, allocations: 19.8 kB / 459.1 MB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01273, allocations: 5.312 kB / 459.2 MB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.01274, allocations: 3.984 kB / 459.2 MB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.01274, allocations: 8 kB / 459.2 MB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01274, allocations: 0.5312 kB / 459.2 MB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.01291, allocations: 144.2 kB / 459.3 MB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01292, allocations: 15.92 kB / 459.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.971e-05/0.01296, allocations: 0 / 459.3 MB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.013, allocations: 17.03 kB / 459.3 MB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.013, allocations: 4 kB / 459.3 MB, free: 10.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.01306, allocations: 74.78 kB / 459.4 MB, free: 10.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01306, allocations: 1.031 kB / 459.4 MB, free: 10.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01327, allocations: 67.94 kB / 459.5 MB, free: 10.6 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.0001426/0.01341, allocations: 94.81 kB / 459.6 MB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.01379, allocations: 0.5266 MB / 460.1 MB, free: 9.902 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/0.0138, allocations: 8 kB / 460.1 MB, free: 9.895 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.323e-05/0.01385, allocations: 41.77 kB / 460.1 MB, free: 9.852 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.01423, allocations: 0.5072 MB / 460.7 MB, free: 9.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006029/0.01483, allocations: 350.8 kB / 461 MB, free: 8.883 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.01488, allocations: 79.84 kB / 461.1 MB, free: 8.785 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.3e-05/0.01493, allocations: 19.92 kB / 461.1 MB, free: 8.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.01512, allocations: 119.3 kB / 461.2 MB, free: 8.652 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01512, allocations: 0.9375 kB / 461.2 MB, free: 8.652 MB / 442.7 MB Notification: Performance of Templates: time 0.00689/0.02201, allocations: 5.641 MB / 466.9 MB, free: 3.418 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.677169001661241]