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.001036/0.001036, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001064/0.001064, allocations: 177 kB / 23.49 MB, free: 1.055 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 0.9972/0.9972, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.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.7518/0.7518, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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 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 3.266e-06/3.266e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.546e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002436/0.002471, allocations: 0.935 MB / 0.5213 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.004678, allocations: 1.481 MB / 0.5227 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.004769, allocations: 4 kB / 0.5227 GB, free: 84 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.004824, allocations: 15.75 kB / 0.5227 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.005011, allocations: 64.81 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008937/0.005905, allocations: 429.6 kB / 0.5232 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.006314, allocations: 499 kB / 0.5237 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.006436, allocations: 30.88 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.006648, allocations: 271.5 kB / 0.524 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.006807, allocations: 131.7 kB / 0.5241 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.006855, allocations: 50 kB / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.28e-05/0.006938, allocations: 59.98 kB / 0.5242 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.006973, allocations: 39.78 kB / 0.5242 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.007086, allocations: 135.8 kB / 0.5244 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.007386, allocations: 343.1 kB / 0.5247 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.007389, allocations: 0.6562 kB / 0.5247 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.82e-07/0.00739, allocations: 0 / 0.5247 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.007394, allocations: 4.562 kB / 0.5247 GB, free: 14.06 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.0006318/0.008026, allocations: 0.6514 MB / 0.5253 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.008064, allocations: 12.02 kB / 0.5253 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.008159, allocations: 41.42 kB / 0.5254 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.008298, allocations: 167.7 kB / 0.5255 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.008326, allocations: 13.81 kB / 0.5256 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.008363, allocations: 24.36 kB / 0.5256 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.008518, allocations: 129.6 kB / 0.5257 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.008526, allocations: 0.9688 kB / 0.5257 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.008537, allocations: 384 / 0.5257 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.008548, allocations: 4.375 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.181e-05/0.00861, allocations: 40.7 kB / 0.5257 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.009304, allocations: 0.9054 MB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.009428, allocations: 132.3 kB / 0.5268 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.887e-05/0.009477, allocations: 46.8 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.009486, allocations: 3.938 kB / 0.5268 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.009668, allocations: 178.2 kB / 0.527 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 9.01e-07/0.009669, allocations: 0 / 0.527 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003236/0.009993, allocations: 186.5 kB / 0.5272 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.01006, allocations: 136.5 kB / 0.5273 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.01025, allocations: 284.3 kB / 0.5276 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.01028, allocations: 38.2 kB / 0.5276 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.01037, allocations: 180.3 kB / 0.5278 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.0104, allocations: 31.73 kB / 0.5278 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.0105, allocations: 99.31 kB / 0.5279 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01063, allocations: 0.501 MB / 0.5284 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.01084, allocations: 231 kB / 0.5286 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.01109, allocations: 352 kB / 0.5289 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.01136, allocations: 353.6 kB / 0.5293 GB, free: 8.867 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01136, allocations: 4 kB / 0.5293 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005775/0.01194, allocations: 0.6306 MB / 0.5299 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.307e-05/0.01201, allocations: 134.8 kB / 0.53 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01202, allocations: 4 kB / 0.53 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01203, allocations: 4 kB / 0.53 GB, free: 8.016 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.0121, allocations: 12.62 kB / 0.53 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.01211, allocations: 7.984 kB / 0.53 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.01238, allocations: 87.03 kB / 0.5301 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.01241, allocations: 31.92 kB / 0.5302 GB, free: 7.883 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.0001162/0.01253, allocations: 184.3 kB / 0.5303 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.01256, allocations: 27.84 kB / 0.5304 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.01259, allocations: 21.34 kB / 0.5304 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.0126, allocations: 0.9375 kB / 0.5304 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.0126, allocations: 7.984 kB / 0.5304 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01261, allocations: 3.938 kB / 0.5304 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.01276, allocations: 188.4 kB / 0.5306 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01276, allocations: 7.984 kB / 0.5306 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.276e-05/0.01278, allocations: 9.812 kB / 0.5306 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01278, allocations: 0 / 0.5306 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.0128, allocations: 8 kB / 0.5306 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.0128, allocations: 0 / 0.5306 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0128, allocations: 0 / 0.5306 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.01299, allocations: 224.8 kB / 0.5308 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.01302, allocations: 23.83 kB / 0.5308 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.01304, allocations: 4 kB / 0.5308 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.01307, allocations: 0 / 0.5308 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.01311, allocations: 22.72 kB / 0.5309 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.01312, allocations: 8 kB / 0.5309 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.733e-05/0.01322, allocations: 193.1 kB / 0.5311 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01322, allocations: 0 / 0.5311 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002042/0.01342, allocations: 67.95 kB / 0.5311 GB, free: 6.828 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.000124/0.01355, allocations: 117.1 kB / 0.5312 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.014, allocations: 0.5632 MB / 0.5318 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.014, allocations: 2.406 kB / 0.5318 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.01407, allocations: 57.84 kB / 0.5318 GB, free: 6.004 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01434, allocations: 75.34 kB / 0.5319 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.01476, allocations: 338.1 kB / 0.5322 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.01481, allocations: 72 kB / 0.5323 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.418e-05/0.01485, allocations: 22.75 kB / 0.5323 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.01488, allocations: 21.5 kB / 0.5323 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/0.01488, allocations: 0 / 0.5323 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of Templates: time 0.006313/0.02119, allocations: 5.05 MB / 0.5373 GB, free: 0.6523 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=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.774391060927883]