Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00128/0.00128, allocations: 88.22 kB / 19.65 MB, free: 272 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.001716/0.001716, allocations: 177 kB / 23.02 MB, free: 1.539 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.9359/0.9359, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7455/0.7455, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.506e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001288/0.001313, allocations: 0.6554 MB / 0.5209 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.002323, allocations: 1.124 MB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.002365, allocations: 0.8438 kB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.002394, allocations: 3.938 kB / 0.522 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.002458, allocations: 12.73 kB / 0.5221 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.002705, allocations: 35.78 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.002781, allocations: 52.81 kB / 0.5221 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.002855, allocations: 4 kB / 0.5221 GB, free: 364 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.252e-05/0.002927, allocations: 33.39 kB / 0.5222 GB, free: 332 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.648e-05/0.002964, allocations: 15.92 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.002977, allocations: 4 kB / 0.5222 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.233e-05/0.003029, allocations: 19.98 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.003048, allocations: 16.75 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.003075, allocations: 11.94 kB / 0.5222 GB, free: 264 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.003187, allocations: 52.59 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.003189, allocations: 0 / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00319, allocations: 3.062 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.003195, allocations: 0 / 0.5223 GB, free: 212 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.000385/0.00358, allocations: 388.5 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.003617, allocations: 8.031 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.605e-05/0.003713, allocations: 12.88 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.193e-05/0.003795, allocations: 116.6 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.003806, allocations: 4.375 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.003815, allocations: 384 / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.003933, allocations: 71.36 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.00394, allocations: 4.938 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.003948, allocations: 384 / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.003956, allocations: 5.203 kB / 0.5229 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.003991, allocations: 19.91 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.004316, allocations: 276.7 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.004393, allocations: 47.95 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.174e-05/0.004415, allocations: 11.69 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.00443, allocations: 0.6562 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/0.004498, allocations: 65.11 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.004499, allocations: 4.969 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001573/0.004657, allocations: 73.83 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.004692, allocations: 59.84 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.004761, allocations: 165.9 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.004778, allocations: 30.73 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.004843, allocations: 134.9 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.004859, allocations: 15.84 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.004894, allocations: 36.58 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.004993, allocations: 492.1 kB / 0.5242 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.005015, allocations: 11.98 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.518e-05/0.005061, allocations: 51.06 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.265e-05/0.005123, allocations: 72.86 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005125, allocations: 0 / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.9e-05/0.005224, allocations: 82.48 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.005237, allocations: 9.094 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005242, allocations: 4 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.005254, allocations: 0 / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.005335, allocations: 24.77 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.005341, allocations: 7.938 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.005367, allocations: 4.562 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.005375, allocations: 3.984 kB / 0.5245 GB, free: 13.7 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.118e-05/0.005446, allocations: 163.3 kB / 0.5247 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.034e-05/0.005457, allocations: 12.58 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.005565, allocations: 74.05 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005567, allocations: 1.562 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.005571, allocations: 0 / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.005574, allocations: 0 / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.005772, allocations: 321.4 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005773, allocations: 5.281 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.0058, allocations: 4 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005801, allocations: 3.938 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.00581, allocations: 10.73 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005811, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.005812, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.005917, allocations: 220 kB / 0.5253 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-06/0.005924, allocations: 4 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.005938, allocations: 0 / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.085e-05/0.005968, allocations: 7.984 kB / 0.5253 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.006006, allocations: 4 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.006013, allocations: 6.375 kB / 0.5253 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.368e-05/0.006047, allocations: 127.2 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006047, allocations: 0 / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000157/0.006204, allocations: 16 kB / 0.5254 GB, free: 12.67 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.0001046/0.006308, allocations: 103.4 kB / 0.5255 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.006408, allocations: 45.2 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.00641, allocations: 0 / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.932e-05/0.006439, allocations: 21.81 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.006611, allocations: 18.11 kB / 0.5256 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.007021, allocations: 150.6 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.334e-05/0.007054, allocations: 59.34 kB / 0.5258 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.007076, allocations: 4.875 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.007099, allocations: 13.16 kB / 0.5258 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/0.0071, allocations: 0 / 0.5258 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.002465/0.009564, allocations: 0.8947 MB / 0.5267 GB, free: 11.36 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.436830059159547]