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.00102/0.00102, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001656/0.002677, 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.001107/0.001107, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002595, allocations: 475.6 kB / 11.8 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 1.061/1.061, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1001/1.161, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7927/0.7927, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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.2973/1.09, allocations: 49.05 MB / 447.8 MB, free: 6.574 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.703e-06/1.703e-06, allocations: 0 / 449.1 MB, free: 5.277 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.458e-05, allocations: 7.125 kB / 449.1 MB, free: 5.273 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00175/0.001774, allocations: 0.9769 MB / 450.1 MB, free: 4.34 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.00316, allocations: 1.49 MB / 451.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.693e-05/0.003217, allocations: 4.875 kB / 451.6 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.003252, allocations: 18.16 kB / 451.6 MB, free: 2.816 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.003356, allocations: 67.28 kB / 451.7 MB, free: 2.766 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.004027, allocations: 415 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004596/0.004486, allocations: 492 kB / 452.6 MB, free: 1.895 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.004589, allocations: 34.53 kB / 452.6 MB, free: 1.859 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.004874, allocations: 307.4 kB / 452.9 MB, free: 1.559 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.005039, allocations: 131.6 kB / 453 MB, free: 1.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.005088, allocations: 48 kB / 453.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.005195, allocations: 63.98 kB / 453.2 MB, free: 1.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.005228, allocations: 31.86 kB / 453.2 MB, free: 1.289 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.005317, allocations: 100.5 kB / 453.3 MB, free: 1.191 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005578, allocations: 275.3 kB / 453.6 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.005589, allocations: 0.625 kB / 453.6 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005589, allocations: 3.312 kB / 453.6 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.005602, allocations: 0 / 453.6 MB, free: 0.9219 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.00062/0.006222, allocations: 0.5783 MB / 454.1 MB, free: 300 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.006256, allocations: 12.03 kB / 454.1 MB, free: 288 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.006323, allocations: 36.89 kB / 454.2 MB, free: 252 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.006449, allocations: 153 kB / 454.3 MB, free: 76 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.006473, allocations: 12.38 kB / 454.3 MB, free: 64 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.006511, allocations: 20.38 kB / 454.4 MB, free: 44 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.006667, allocations: 116.6 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.006677, allocations: 5.094 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.006689, allocations: 1.781 kB / 454.5 MB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.006696, allocations: 10.19 kB / 454.5 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.006734, allocations: 31.84 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.007208, allocations: 0.5216 MB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.007295, allocations: 95.3 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.007325, allocations: 36.75 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.007334, allocations: 8.781 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.007478, allocations: 154.6 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.007479, allocations: 0.6875 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.000227/0.007706, allocations: 140.1 kB / 455.5 MB, free: 14.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.007761, allocations: 136.5 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.007887, allocations: 217 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.007922, allocations: 38.7 kB / 455.9 MB, free: 14.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.007979, allocations: 120.5 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.008005, allocations: 37 kB / 456 MB, free: 14.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.008096, allocations: 81.62 kB / 456.1 MB, free: 14.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.008178, allocations: 338.8 kB / 456.4 MB, free: 13.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.008323, allocations: 203 kB / 456.6 MB, free: 13.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.008485, allocations: 286.2 kB / 456.9 MB, free: 13.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.00869, allocations: 324.2 kB / 457.2 MB, free: 12.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.008692, allocations: 0 / 457.2 MB, free: 12.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003607/0.009053, allocations: 0.5166 MB / 457.7 MB, free: 12.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.247e-05/0.009125, allocations: 134.8 kB / 457.9 MB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.009131, allocations: 0 / 457.9 MB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.009146, allocations: 9.438 kB / 457.9 MB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.009203, allocations: 15.94 kB / 457.9 MB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.009209, allocations: 7.984 kB / 457.9 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.00945, allocations: 83.58 kB / 458 MB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.009479, allocations: 24.53 kB / 458 MB, free: 12.01 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.302e-05/0.009573, allocations: 131.6 kB / 458.1 MB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.009598, allocations: 31.91 kB / 458.2 MB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/0.009632, allocations: 18.09 kB / 458.2 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.009636, allocations: 4 kB / 458.2 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.009639, allocations: 0.5 kB / 458.2 MB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.009644, allocations: 4.672 kB / 458.2 MB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.009759, allocations: 121.8 kB / 458.3 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009761, allocations: 0.625 kB / 458.3 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.009788, allocations: 19.94 kB / 458.3 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.00981, allocations: 24.34 kB / 458.4 MB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.009814, allocations: 4.625 kB / 458.4 MB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.009821, allocations: 3.984 kB / 458.4 MB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.009823, allocations: 4.625 kB / 458.4 MB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.009825, allocations: 0.9375 kB / 458.4 MB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.009949, allocations: 135.6 kB / 458.5 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.009967, allocations: 15.92 kB / 458.5 MB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.774e-05/0.009995, allocations: 1.719 kB / 458.5 MB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.01003, allocations: 16.53 kB / 458.5 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.01003, allocations: 4 kB / 458.5 MB, free: 11.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.01009, allocations: 74.78 kB / 458.6 MB, free: 11.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01009, allocations: 2.031 kB / 458.6 MB, free: 11.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001944/0.01028, allocations: 67.94 kB / 458.7 MB, free: 11.29 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.0001039/0.01039, allocations: 92.34 kB / 458.8 MB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.01076, allocations: 0.5293 MB / 459.3 MB, free: 10.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.01076, allocations: 7.984 kB / 459.3 MB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.723e-05/0.01081, allocations: 51.45 kB / 459.4 MB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.01119, allocations: 0.5037 MB / 459.9 MB, free: 9.934 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.01184, allocations: 342.5 kB / 460.2 MB, free: 9.562 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.008e-05/0.01189, allocations: 71.98 kB / 460.3 MB, free: 9.473 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.01195, allocations: 18.55 kB / 460.3 MB, free: 9.457 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.01216, allocations: 128.4 kB / 460.4 MB, free: 9.332 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01216, allocations: 0 / 460.4 MB, free: 9.332 MB / 442.7 MB Notification: Performance of Templates: time 0.007092/0.01925, allocations: 5.624 MB / 466 MB, free: 4.102 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.6671770634129643]