Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001301/0.001301, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.0009964/0.0009964, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9176/0.9176, allocations: 177.1 MB / 204.5 MB, free: 4.984 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.8536/0.8536, allocations: 154.9 MB / 415.9 MB, free: 196 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.863e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001184/0.001202, allocations: 0.6495 MB / 0.5225 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.002234, allocations: 1.118 MB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.002276, allocations: 0 / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.002301, allocations: 3.938 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.002366, allocations: 12.48 kB / 0.5236 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.002585, allocations: 44.3 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.002669, allocations: 44.77 kB / 0.5237 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.002746, allocations: 11.97 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.354e-05/0.002819, allocations: 27.98 kB / 0.5237 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.71e-05/0.002856, allocations: 12.58 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.002871, allocations: 4.562 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.322e-05/0.002924, allocations: 23.97 kB / 0.5238 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.002945, allocations: 12.61 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.002968, allocations: 11.94 kB / 0.5238 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.003072, allocations: 52.69 kB / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003074, allocations: 0 / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003075, allocations: 0.9375 kB / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.003079, allocations: 0 / 0.5238 GB, free: 15.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003474/0.003426, allocations: 394.2 kB / 0.5242 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003459, allocations: 8.031 kB / 0.5242 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.003532, allocations: 12.88 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.498e-05/0.003607, allocations: 116.5 kB / 0.5244 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.003619, allocations: 4.375 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.003627, allocations: 6.125 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.728e-05/0.003724, allocations: 62.88 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003732, allocations: 192 / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.003739, allocations: 4.375 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.003745, allocations: 5.109 kB / 0.5244 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.378e-05/0.003769, allocations: 11.92 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.004116, allocations: 261.8 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/0.004204, allocations: 42.98 kB / 0.5247 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.004224, allocations: 13.06 kB / 0.5247 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.004243, allocations: 4 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.314e-05/0.004336, allocations: 65.11 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.004337, allocations: 2.062 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001826/0.00452, allocations: 73.58 kB / 0.5249 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.004572, allocations: 59.34 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.00466, allocations: 165.9 kB / 0.5251 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.004675, allocations: 25.7 kB / 0.5251 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.004722, allocations: 132.8 kB / 0.5253 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.004745, allocations: 23.81 kB / 0.5253 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.004778, allocations: 27.38 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.004914, allocations: 0.4884 MB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.274e-05/0.004927, allocations: 4 kB / 0.5258 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.004968, allocations: 50.42 kB / 0.5258 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.309e-05/0.005031, allocations: 72.8 kB / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005033, allocations: 0 / 0.5259 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.9e-05/0.005122, allocations: 83.53 kB / 0.526 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.005133, allocations: 4 kB / 0.526 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.005139, allocations: 7.938 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.005148, allocations: 1.156 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.005216, allocations: 19.92 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005221, allocations: 4 kB / 0.526 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.00525, allocations: 11.09 kB / 0.526 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.005258, allocations: 3.938 kB / 0.526 GB, free: 13.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 7.354e-05/0.005331, allocations: 163.2 kB / 0.5262 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.005341, allocations: 11.94 kB / 0.5262 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.633e-05/0.005428, allocations: 70 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005431, allocations: 4 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.005432, allocations: 0 / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.005435, allocations: 3.031 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.00562, allocations: 290 kB / 0.5265 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005621, allocations: 0 / 0.5265 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.005651, allocations: 16.36 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.005653, allocations: 3.938 kB / 0.5266 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-06/0.005657, allocations: 3.938 kB / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.005659, allocations: 4.312 kB / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.00566, allocations: 0 / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.632e-05/0.005757, allocations: 209.4 kB / 0.5268 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005763, allocations: 3.984 kB / 0.5268 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.005778, allocations: 11.94 kB / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.141e-05/0.005809, allocations: 0 / 0.5268 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.005837, allocations: 8.484 kB / 0.5268 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.005841, allocations: 2.969 kB / 0.5268 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.619e-05/0.005877, allocations: 131.2 kB / 0.5269 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005877, allocations: 0 / 0.5269 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001647/0.006042, allocations: 16 kB / 0.5269 GB, free: 12.03 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.508e-05/0.006137, allocations: 103.2 kB / 0.527 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.009e-05/0.006217, allocations: 42.05 kB / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.42e-07/0.006218, allocations: 0 / 0.5271 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/0.006244, allocations: 19.67 kB / 0.5271 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.00642, allocations: 11.58 kB / 0.5271 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.006771, allocations: 159.4 kB / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.222e-05/0.006803, allocations: 59.34 kB / 0.5273 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.144e-05/0.006824, allocations: 5.031 kB / 0.5273 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.006882, allocations: 78.19 kB / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.006883, allocations: 0 / 0.5274 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.00247/0.009353, allocations: 0.9334 MB / 0.5283 GB, free: 10.62 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.624523452948779]