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.0007359/0.0007359, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.001932, allocations: 440 kB / 10.41 MB, free: 284 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.0007305/0.0007305, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009619/0.001692, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08984/1.092, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.8296/0.8296, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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.2676/1.097, allocations: 49.04 MB / 447.8 MB, free: 6.594 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.784e-06/1.784e-06, allocations: 0 / 449.1 MB, free: 5.316 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.879e-06/1.166e-05, allocations: 2.312 kB / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001047/0.001059, allocations: 0.7104 MB / 449.8 MB, free: 4.645 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008577/0.001917, allocations: 1.131 MB / 451 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.001948, allocations: 0.875 kB / 451 MB, free: 3.504 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.001968, allocations: 7.922 kB / 451 MB, free: 3.496 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.915e-05/0.001997, allocations: 8.469 kB / 451 MB, free: 3.492 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.002128, allocations: 40.48 kB / 451 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.886e-05/0.002207, allocations: 47.97 kB / 451.1 MB, free: 3.414 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.002274, allocations: 8.641 kB / 451.1 MB, free: 3.406 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.00235, allocations: 36.23 kB / 451.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.002396, allocations: 12.73 kB / 451.1 MB, free: 3.363 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.002409, allocations: 12.7 kB / 451.1 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.002479, allocations: 19.98 kB / 451.2 MB, free: 3.332 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.002497, allocations: 7.172 kB / 451.2 MB, free: 3.328 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.002519, allocations: 13.42 kB / 451.2 MB, free: 3.316 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.673e-05/0.002616, allocations: 40.36 kB / 451.2 MB, free: 3.281 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.002626, allocations: 0 / 451.2 MB, free: 3.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.002626, allocations: 0 / 451.2 MB, free: 3.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.002638, allocations: 0 / 451.2 MB, free: 3.281 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.0003815/0.00302, allocations: 272 kB / 451.5 MB, free: 2.992 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.00305, allocations: 13.09 kB / 451.5 MB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.003158, allocations: 85.98 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.003232, allocations: 117.7 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.003241, allocations: 1.281 kB / 451.7 MB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.003252, allocations: 9.406 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.665e-05/0.003339, allocations: 67.55 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-06/0.003345, allocations: 192 / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.003351, allocations: 2.031 kB / 451.8 MB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.003358, allocations: 5.875 kB / 451.8 MB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.003378, allocations: 7.938 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.003598, allocations: 169 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.963e-05/0.003658, allocations: 39.59 kB / 452 MB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.003672, allocations: 8.859 kB / 452 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.003685, allocations: 0 / 452 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.383e-05/0.003749, allocations: 52.67 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.00375, allocations: 3.312 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 9.996e-05/0.00385, allocations: 61.69 kB / 452.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.003883, allocations: 59.39 kB / 452.2 MB, free: 2.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.659e-05/0.00394, allocations: 106.8 kB / 452.3 MB, free: 2.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.003953, allocations: 29.7 kB / 452.3 MB, free: 2.055 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.003984, allocations: 100.5 kB / 452.4 MB, free: 1.953 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/0.003997, allocations: 7.906 kB / 452.4 MB, free: 1.945 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.004026, allocations: 29.69 kB / 452.4 MB, free: 1.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.004092, allocations: 318.8 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.004104, allocations: 4.906 kB / 452.8 MB, free: 1.586 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.00413, allocations: 37.16 kB / 452.8 MB, free: 1.535 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.004177, allocations: 62.02 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004179, allocations: 0.5 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.414e-05/0.004243, allocations: 62.92 kB / 452.9 MB, free: 1.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.004252, allocations: 8.562 kB / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.004256, allocations: 0 / 452.9 MB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.004269, allocations: 8.562 kB / 452.9 MB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.004341, allocations: 24.8 kB / 453 MB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.004344, allocations: 4.875 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.004371, allocations: 12.92 kB / 453 MB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-06/0.004377, allocations: 0 / 453 MB, free: 1.34 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 5.1e-05/0.004428, allocations: 116.6 kB / 453.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.004434, allocations: 4 kB / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.004501, allocations: 61.98 kB / 453.2 MB, free: 1.145 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.004505, allocations: 7.938 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.004506, allocations: 0.9062 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.004509, allocations: 1.094 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.004643, allocations: 202.8 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004644, allocations: 1 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.004666, allocations: 7.984 kB / 453.4 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.004674, allocations: 13.81 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.81e-07/0.004675, allocations: 0 / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.004679, allocations: 0 / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.00468, allocations: 0 / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.00468, allocations: 0.6562 kB / 453.4 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.464e-05/0.004745, allocations: 143.5 kB / 453.5 MB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.004758, allocations: 10.25 kB / 453.5 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.004788, allocations: 4 kB / 453.5 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.004813, allocations: 3.984 kB / 453.5 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.004819, allocations: 5.719 kB / 453.5 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.491e-05/0.004834, allocations: 16.78 kB / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004834, allocations: 0 / 453.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.004959, allocations: 17.16 kB / 453.6 MB, free: 0.6836 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 8.791e-05/0.005047, allocations: 81.12 kB / 453.7 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.005114, allocations: 36.75 kB / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.005118, allocations: 0 / 453.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.005147, allocations: 28.97 kB / 453.7 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.005282, allocations: 64.84 kB / 453.8 MB, free: 468 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.005809, allocations: 157.8 kB / 453.9 MB, free: 292 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.028e-05/0.005839, allocations: 60.56 kB / 454 MB, free: 212 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.892e-05/0.005858, allocations: 4 kB / 454 MB, free: 208 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.0059, allocations: 56.12 kB / 454.1 MB, free: 152 kB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.005901, allocations: 0 / 454.1 MB, free: 152 kB / 426.7 MB Notification: Performance of Templates: time 0.002129/0.008029, allocations: 0.8482 MB / 454.9 MB, free: 15.36 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.484550970606506]