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.001659/0.001659, allocations: 92.7 kB / 19.44 MB, free: 328 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.001992/0.001992, allocations: 165.3 kB / 22.76 MB, free: 1.656 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.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.27/1.27, allocations: 154.8 MB / 414.4 MB, free: 480 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 178] 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 2.605e-06/2.605e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.528e-05, allocations: 3.875 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001928/0.001963, allocations: 0.6545 MB / 0.5205 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.003623, allocations: 1.087 MB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.003669, allocations: 0 / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.003701, allocations: 3.938 kB / 0.5215 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.941e-05/0.003781, allocations: 13.73 kB / 0.5215 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.004083, allocations: 43.77 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.004206, allocations: 47.84 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.004298, allocations: 4 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.004399, allocations: 29.61 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.004454, allocations: 27.89 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.004471, allocations: 4 kB / 0.5217 GB, free: 428 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.229e-05/0.004544, allocations: 15.94 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.004571, allocations: 15.97 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.004613, allocations: 16.67 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.004771, allocations: 59.84 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004774, allocations: 1.406 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004775, allocations: 0 / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.00478, allocations: 0 / 0.5218 GB, free: 320 kB / 490.7 MB 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.0006104/0.00539, allocations: 287.5 kB / 0.5221 GB, free: 0 / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.005455, allocations: 8.078 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.005576, allocations: 8.891 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.0057, allocations: 115 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.00572, allocations: 8.375 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.005734, allocations: 4.375 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.005945, allocations: 64.8 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.005954, allocations: 192 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.005975, allocations: 384 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.00598, allocations: 384 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.006186, allocations: 47.89 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.006694, allocations: 229 kB / 0.5225 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.006884, allocations: 59.44 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.006997, allocations: 26.53 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.007024, allocations: 4 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.007264, allocations: 75.31 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.007265, allocations: 0.9375 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0004646/0.00773, allocations: 123 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.00779, allocations: 55.41 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.007913, allocations: 111 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.007938, allocations: 29.7 kB / 0.523 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.008007, allocations: 84.14 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.008037, allocations: 16.59 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.008096, allocations: 29.7 kB / 0.5231 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003466/0.008442, allocations: 312.1 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.008557, allocations: 31.97 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.008705, allocations: 61.23 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.008958, allocations: 91.45 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00896, allocations: 0 / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003098/0.009269, allocations: 116.4 kB / 0.5237 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.009287, allocations: 7.938 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.009295, allocations: 4 kB / 0.5237 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.009316, allocations: 3.938 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.009439, allocations: 15.98 kB / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.009446, allocations: 0 / 0.5237 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.009527, allocations: 17.42 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.009538, allocations: 0 / 0.5238 GB, free: 14.12 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 0.000115/0.009653, allocations: 118.7 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.009673, allocations: 8.391 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.009998, allocations: 109 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01, allocations: 4 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.01001, allocations: 3.984 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01001, allocations: 3.938 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.01051, allocations: 304.6 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01051, allocations: 0 / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.01057, allocations: 7.984 kB / 0.5243 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.01058, allocations: 4 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01059, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01059, allocations: 0 / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01059, allocations: 2.031 kB / 0.5243 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.01094, allocations: 199.4 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.01095, allocations: 0 / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.01097, allocations: 4 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.01106, allocations: 9.016 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.0111, allocations: 7.938 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.01111, allocations: 4.938 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.01118, allocations: 87.56 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01118, allocations: 0 / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002612/0.01144, allocations: 21.5 kB / 0.5246 GB, free: 13.18 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 0.0001727/0.01161, allocations: 99.23 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.01189, allocations: 65.17 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.01189, allocations: 0.5625 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.01201, allocations: 28.83 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01229, allocations: 14.39 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.0127, allocations: 148.4 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.01278, allocations: 68.3 kB / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.01281, allocations: 4.719 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.01285, allocations: 12.5 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of SimCode: time 3.2e-07/0.01285, allocations: 0.5938 kB / 0.525 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.003959/0.01681, allocations: 0.8308 MB / 0.5259 GB, free: 11.92 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.965865213074721]