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.00102/0.00102, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002323, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00103/0.00103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.00223, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.995/0.995, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09293/1.088, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.789/0.789, allocations: 154.6 MB / 398.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3573/1.146, allocations: 49.04 MB / 447.6 MB, free: 6.695 MB / 426.7 MB " [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 1.744e-06/1.744e-06, allocations: 0.6562 kB / 448.8 MB, free: 5.441 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.211e-05, allocations: 3.859 kB / 448.9 MB, free: 5.438 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001819/0.001841, allocations: 0.7051 MB / 449.6 MB, free: 4.777 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003147, allocations: 1.127 MB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.003187, allocations: 4.906 kB / 450.7 MB, free: 3.641 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.00321, allocations: 3.984 kB / 450.7 MB, free: 3.637 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.003251, allocations: 7.094 kB / 450.7 MB, free: 3.633 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.004569, allocations: 48.31 kB / 450.7 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.004673, allocations: 41.05 kB / 450.8 MB, free: 3.555 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.584e-05/0.004749, allocations: 11.98 kB / 450.8 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.004843, allocations: 36.06 kB / 450.8 MB, free: 3.508 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.304e-05/0.004886, allocations: 17.62 kB / 450.8 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.004899, allocations: 4.984 kB / 450.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.004972, allocations: 23.97 kB / 450.9 MB, free: 3.465 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.004988, allocations: 11.2 kB / 450.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.005009, allocations: 9.312 kB / 450.9 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.005124, allocations: 39.19 kB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.005139, allocations: 1.156 kB / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00514, allocations: 0 / 450.9 MB, free: 3.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.005155, allocations: 7.938 kB / 450.9 MB, free: 3.406 MB / 426.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.0003781/0.005533, allocations: 267.3 kB / 451.2 MB, free: 3.121 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.005561, allocations: 9.344 kB / 451.2 MB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.005671, allocations: 85.98 kB / 451.3 MB, free: 3.012 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.203e-05/0.005743, allocations: 119 kB / 451.4 MB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.005753, allocations: 4.375 kB / 451.4 MB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.00576, allocations: 4.375 kB / 451.4 MB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.121e-05/0.005851, allocations: 67.66 kB / 451.5 MB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.005858, allocations: 4.953 kB / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.005863, allocations: 2.344 kB / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.005868, allocations: 384 / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.005891, allocations: 11.88 kB / 451.5 MB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.006123, allocations: 164.4 kB / 451.7 MB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.507e-05/0.006188, allocations: 31.12 kB / 451.7 MB, free: 2.559 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.006202, allocations: 13.55 kB / 451.7 MB, free: 2.543 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.006221, allocations: 9.328 kB / 451.7 MB, free: 2.535 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/0.006293, allocations: 55.95 kB / 451.8 MB, free: 2.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.006294, allocations: 1.219 kB / 451.8 MB, free: 2.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001022/0.006396, allocations: 59.55 kB / 451.8 MB, free: 2.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.006435, allocations: 55.39 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.006487, allocations: 107.8 kB / 452 MB, free: 2.223 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.006497, allocations: 25.7 kB / 452 MB, free: 2.191 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.006529, allocations: 104 kB / 452.1 MB, free: 2.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.006543, allocations: 13.06 kB / 452.1 MB, free: 2.074 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.006573, allocations: 25.69 kB / 452.2 MB, free: 2.043 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.006646, allocations: 318.8 kB / 452.5 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.00666, allocations: 12.47 kB / 452.5 MB, free: 1.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.006692, allocations: 44.22 kB / 452.5 MB, free: 1.652 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.00674, allocations: 55.12 kB / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006742, allocations: 0 / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.186e-05/0.006814, allocations: 71.45 kB / 452.7 MB, free: 1.512 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.006826, allocations: 4 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006831, allocations: 4 kB / 452.7 MB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.006839, allocations: 3.938 kB / 452.7 MB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.006911, allocations: 21.52 kB / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.006915, allocations: 0 / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.006938, allocations: 4 kB / 452.7 MB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.006947, allocations: 14.05 kB / 452.7 MB, free: 1.465 MB / 426.7 MB 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 6.065e-05/0.007007, allocations: 117.8 kB / 452.8 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-06/0.007013, allocations: 0 / 452.8 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.247e-05/0.007086, allocations: 62.05 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007088, allocations: 3.938 kB / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.007089, allocations: 0.9062 kB / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007092, allocations: 0 / 452.9 MB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.007231, allocations: 202.8 kB / 453.1 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.007232, allocations: 0.875 kB / 453.1 MB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.007258, allocations: 11.98 kB / 453.1 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.007266, allocations: 8.797 kB / 453.1 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007268, allocations: 0 / 453.1 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.007274, allocations: 4.625 kB / 453.1 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.007275, allocations: 0 / 453.1 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.007277, allocations: 1.188 kB / 453.1 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.288e-05/0.00736, allocations: 151.6 kB / 453.3 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.007374, allocations: 8.562 kB / 453.3 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.007404, allocations: 0.625 kB / 453.3 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.007437, allocations: 11.98 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.00744, allocations: 0.625 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.293e-05/0.007453, allocations: 12.84 kB / 453.3 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007453, allocations: 0.625 kB / 453.3 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001356/0.007588, allocations: 12.56 kB / 453.3 MB, free: 0.8125 MB / 426.7 MB 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.765e-05/0.007686, allocations: 89.19 kB / 453.4 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.859e-05/0.007755, allocations: 38.5 kB / 453.4 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.007758, allocations: 0 / 453.4 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.185e-05/0.00778, allocations: 20.8 kB / 453.4 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.007905, allocations: 16.73 kB / 453.5 MB, free: 0.6445 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.008464, allocations: 152.1 kB / 453.6 MB, free: 488 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.99e-05/0.008494, allocations: 59.34 kB / 453.7 MB, free: 408 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.861e-05/0.008513, allocations: 1.5 kB / 453.7 MB, free: 408 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.008553, allocations: 55.38 kB / 453.7 MB, free: 352 kB / 426.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008554, allocations: 0 / 453.7 MB, free: 352 kB / 426.7 MB Notification: Performance of Templates: time 0.002248/0.0108, allocations: 0.8726 MB / 454.6 MB, free: 15.53 MB / 442.7 MB " [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.6870522759854794]