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.0008997/0.0008997, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.0009176/0.0009176, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.887/0.887, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.7362/0.7362, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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 1.533e-06/1.533e-06, allocations: 0 / 0.5208 GB, free: 1.918 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.604e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.914 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001292/0.001308, allocations: 0.9202 MB / 0.5217 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.002558, allocations: 1.478 MB / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.002614, allocations: 0 / 0.5231 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.00265, allocations: 19.73 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.002764, allocations: 68.69 kB / 0.5232 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.00336, allocations: 421.5 kB / 0.5236 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.00368, allocations: 0.4911 MB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.655e-05/0.003767, allocations: 34.89 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.003962, allocations: 263.6 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.004103, allocations: 141.6 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.004151, allocations: 48 kB / 0.5245 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.734e-05/0.004228, allocations: 63.92 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.004257, allocations: 39.84 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.004342, allocations: 131.8 kB / 0.5248 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.004586, allocations: 343.1 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004588, allocations: 0.8125 kB / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.81e-07/0.004589, allocations: 0 / 0.5251 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.004592, allocations: 0.7812 kB / 0.5251 GB, free: 13.5 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.0004789/0.005071, allocations: 0.6584 MB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.005105, allocations: 12.97 kB / 0.5257 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.005162, allocations: 32.8 kB / 0.5258 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.00526, allocations: 173.1 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.00528, allocations: 12.38 kB / 0.526 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.005309, allocations: 20.38 kB / 0.526 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.00542, allocations: 129.6 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.005427, allocations: 0.9688 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005435, allocations: 4.359 kB / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.005446, allocations: 5.156 kB / 0.5261 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.005481, allocations: 27.86 kB / 0.5261 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.005988, allocations: 0.8748 MB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.474e-05/0.006073, allocations: 128.3 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.006105, allocations: 50.73 kB / 0.5272 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-06/0.006111, allocations: 4 kB / 0.5272 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.006242, allocations: 174 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.006243, allocations: 0.7812 kB / 0.5273 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003502/0.006593, allocations: 181.4 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.006634, allocations: 137.3 kB / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.006764, allocations: 276.1 kB / 0.5279 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.006792, allocations: 37.7 kB / 0.5279 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.006869, allocations: 188.2 kB / 0.5281 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.006888, allocations: 31.73 kB / 0.5281 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.623e-05/0.006984, allocations: 100 kB / 0.5282 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007087, allocations: 0.504 MB / 0.5287 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.007228, allocations: 211.9 kB / 0.5289 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.007403, allocations: 325.3 kB / 0.5292 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.007612, allocations: 341.5 kB / 0.5296 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007614, allocations: 0.625 kB / 0.5296 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004536/0.008068, allocations: 0.6027 MB / 0.5302 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.008122, allocations: 138.2 kB / 0.5303 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008128, allocations: 4 kB / 0.5303 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.008139, allocations: 4 kB / 0.5303 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.008184, allocations: 15.94 kB / 0.5303 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.008188, allocations: 4 kB / 0.5303 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.00842, allocations: 82.69 kB / 0.5304 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.008451, allocations: 27.97 kB / 0.5304 GB, free: 7.469 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 9.196e-05/0.008543, allocations: 180.5 kB / 0.5306 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.008567, allocations: 31.8 kB / 0.5306 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.008596, allocations: 21.33 kB / 0.5306 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008598, allocations: 5.594 kB / 0.5306 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.008602, allocations: 3.984 kB / 0.5307 GB, free: 7.219 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.008605, allocations: 4 kB / 0.5307 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.008718, allocations: 165.1 kB / 0.5308 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008719, allocations: 5.25 kB / 0.5308 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.008738, allocations: 11.94 kB / 0.5308 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008741, allocations: 3.938 kB / 0.5308 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.008747, allocations: 7.984 kB / 0.5308 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.00875, allocations: 10.73 kB / 0.5309 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008751, allocations: 0 / 0.5309 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.008893, allocations: 203.2 kB / 0.531 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.008913, allocations: 23.83 kB / 0.5311 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.008928, allocations: 7.938 kB / 0.5311 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.765e-05/0.008955, allocations: 7.984 kB / 0.5311 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/0.008979, allocations: 11.98 kB / 0.5311 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.008987, allocations: 18.33 kB / 0.5311 GB, free: 6.691 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.009054, allocations: 177.1 kB / 0.5313 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009054, allocations: 4 kB / 0.5313 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000201/0.009255, allocations: 67.94 kB / 0.5314 GB, free: 6.449 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 9.232e-05/0.009347, allocations: 113.3 kB / 0.5315 GB, free: 6.328 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.009686, allocations: 0.5358 MB / 0.532 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.009687, allocations: 4.531 kB / 0.532 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.009734, allocations: 52.45 kB / 0.532 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.009968, allocations: 62.06 kB / 0.5321 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.01029, allocations: 339 kB / 0.5324 GB, free: 5.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.01032, allocations: 75.98 kB / 0.5325 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.01036, allocations: 19.8 kB / 0.5325 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.01055, allocations: 158.1 kB / 0.5327 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of SimCode: time 4e-07/0.01055, allocations: 1.438 kB / 0.5327 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of Templates: time 0.006106/0.01666, allocations: 5.481 MB / 0.538 GB, free: 15.78 MB / 0.5105 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.45788268186152]