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.001676/0.001676, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002151/0.002151, allocations: 157.6 kB / 22.76 MB, free: 1.68 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.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.23/1.23, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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. " [Timeout remaining time 178] 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 2.344e-06/2.344e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.136e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002115/0.002146, allocations: 0.9001 MB / 0.5205 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.004373, allocations: 1.46 MB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.004443, allocations: 4 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.797e-05/0.004491, allocations: 15.75 kB / 0.522 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.004669, allocations: 68.95 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.005728, allocations: 433.3 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.006342, allocations: 499 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005309/0.006872, allocations: 35.2 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.00724, allocations: 263.6 kB / 0.5232 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.007496, allocations: 131.6 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.007579, allocations: 48.5 kB / 0.5234 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.007707, allocations: 63.98 kB / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.007753, allocations: 39.22 kB / 0.5235 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.007945, allocations: 143.7 kB / 0.5236 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006939/0.008639, allocations: 0.5571 MB / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008642, allocations: 0 / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.008643, allocations: 0 / 0.5241 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.008649, allocations: 0 / 0.5241 GB, free: 13.92 MB / 0.4948 GB 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.0009169/0.009565, allocations: 0.5586 MB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.009605, allocations: 12.03 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.009729, allocations: 32.8 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.009939, allocations: 169.5 kB / 0.5249 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.009977, allocations: 12.94 kB / 0.5249 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.01004, allocations: 24.38 kB / 0.5249 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.01027, allocations: 118.1 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.01028, allocations: 1.062 kB / 0.525 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.0103, allocations: 8.375 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.0103, allocations: 1.844 kB / 0.5251 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.01045, allocations: 63.84 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01148, allocations: 0.7193 MB / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.01168, allocations: 116.4 kB / 0.5259 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.012e-05/0.01177, allocations: 51.42 kB / 0.526 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.01179, allocations: 4 kB / 0.526 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.01215, allocations: 194 kB / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.01215, allocations: 0 / 0.5262 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005504/0.0127, allocations: 234 kB / 0.5264 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.01281, allocations: 137.3 kB / 0.5265 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/0.01312, allocations: 241.7 kB / 0.5268 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.01319, allocations: 38.98 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.01334, allocations: 124.6 kB / 0.5269 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.01338, allocations: 35.78 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.01358, allocations: 89.66 kB / 0.527 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.01378, allocations: 336.2 kB / 0.5274 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.01421, allocations: 267 kB / 0.5276 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.01474, allocations: 359.3 kB / 0.5279 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.0153, allocations: 370.3 kB / 0.5283 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.0153, allocations: 0 / 0.5283 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001391/0.01669, allocations: 0.7096 MB / 0.529 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.01683, allocations: 134.8 kB / 0.5291 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.01684, allocations: 5.031 kB / 0.5291 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.01687, allocations: 4.281 kB / 0.5291 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.01696, allocations: 12.92 kB / 0.5291 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.01698, allocations: 11.88 kB / 0.5292 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.01767, allocations: 114.6 kB / 0.5293 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-05/0.01774, allocations: 27.98 kB / 0.5293 GB, free: 8.168 MB / 0.4948 GB 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.0002243/0.01796, allocations: 156.1 kB / 0.5294 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.01803, allocations: 31.84 kB / 0.5295 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.01808, allocations: 21.33 kB / 0.5295 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01808, allocations: 4 kB / 0.5295 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.01809, allocations: 2.938 kB / 0.5295 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.0181, allocations: 4 kB / 0.5295 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.01867, allocations: 185.1 kB / 0.5297 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01867, allocations: 0 / 0.5297 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.01871, allocations: 12 kB / 0.5297 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.01872, allocations: 0 / 0.5297 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.01874, allocations: 7.984 kB / 0.5297 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01874, allocations: 3.984 kB / 0.5297 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.01875, allocations: 4.625 kB / 0.5297 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.01915, allocations: 227.3 kB / 0.5299 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.01919, allocations: 21.25 kB / 0.5299 GB, free: 7.438 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.01922, allocations: 7.984 kB / 0.53 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.351e-05/0.01928, allocations: 4 kB / 0.53 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.01934, allocations: 19.36 kB / 0.53 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.01935, allocations: 7.984 kB / 0.53 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002008/0.01955, allocations: 169.2 kB / 0.5301 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01955, allocations: 0 / 0.5301 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003563/0.01991, allocations: 75.88 kB / 0.5302 GB, free: 7.164 MB / 0.4948 GB 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.0002168/0.02012, allocations: 103.2 kB / 0.5303 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008853/0.02101, allocations: 0.6092 MB / 0.5309 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.02101, allocations: 0 / 0.5309 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.02113, allocations: 55.91 kB / 0.531 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.02159, allocations: 71.17 kB / 0.531 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.02228, allocations: 355 kB / 0.5314 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.02241, allocations: 119.4 kB / 0.5315 GB, free: 5.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.572e-05/0.02248, allocations: 23.12 kB / 0.5315 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.02252, allocations: 24.44 kB / 0.5315 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.02252, allocations: 0.625 kB / 0.5315 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of Templates: time 0.01027/0.03279, allocations: 5.05 MB / 0.5365 GB, free: 0.9141 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.98473529110197]