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.001017/0.001017, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001588/0.001588, allocations: 181 kB / 23.36 MB, free: 1.133 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.9238/0.9238, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7316/0.7316, allocations: 154.6 MB / 414.9 MB, free: 0.5234 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 1.684e-06/1.684e-06, allocations: 0 / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/2.003e-05, allocations: 6.25 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001584/0.001604, allocations: 0.6612 MB / 480.6 MB, free: 6.309 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.002685, allocations: 1.128 MB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.002735, allocations: 1.719 kB / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.002761, allocations: 0 / 481.8 MB, free: 5.172 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.832e-05/0.00283, allocations: 7.328 kB / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.003101, allocations: 47.77 kB / 481.8 MB, free: 5.121 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.728e-05/0.003189, allocations: 49.78 kB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.894e-05/0.003257, allocations: 11.98 kB / 481.9 MB, free: 5.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.003336, allocations: 26.7 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.088e-05/0.003377, allocations: 20.95 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.003391, allocations: 4 kB / 481.9 MB, free: 5.023 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.003446, allocations: 21.59 kB / 482 MB, free: 5.004 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.003466, allocations: 9.312 kB / 482 MB, free: 4.996 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.00349, allocations: 18.05 kB / 482 MB, free: 4.98 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.003592, allocations: 47.28 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003595, allocations: 4.594 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.003596, allocations: 4 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.003599, allocations: 1.25 kB / 482 MB, free: 4.93 MB / 442.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.0003172/0.003916, allocations: 252 kB / 482.3 MB, free: 4.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.003948, allocations: 8.797 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.833e-05/0.004026, allocations: 10.33 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.332e-05/0.0041, allocations: 117.7 kB / 482.4 MB, free: 4.504 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.004111, allocations: 8.375 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.00412, allocations: 384 / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.613e-05/0.004216, allocations: 65.12 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.004224, allocations: 1.359 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-06/0.004232, allocations: 5.141 kB / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004237, allocations: 384 / 482.5 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.272e-05/0.00426, allocations: 15.86 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.004508, allocations: 165.8 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.221e-05/0.00457, allocations: 27.48 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.416e-05/0.004584, allocations: 8.859 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.004599, allocations: 4.609 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/0.004663, allocations: 72.09 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.004665, allocations: 2.766 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001131/0.004778, allocations: 62.23 kB / 482.8 MB, free: 4.031 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.004813, allocations: 51.41 kB / 482.9 MB, free: 3.969 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.435e-05/0.004867, allocations: 111.3 kB / 483 MB, free: 3.848 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.004878, allocations: 26.3 kB / 483 MB, free: 3.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.004907, allocations: 88.09 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.004923, allocations: 20.33 kB / 483.1 MB, free: 3.707 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.004953, allocations: 26.3 kB / 483.2 MB, free: 3.676 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.005022, allocations: 318.8 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.005038, allocations: 12.73 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.005065, allocations: 36.23 kB / 483.5 MB, free: 3.293 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.005117, allocations: 57.97 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.00512, allocations: 4.594 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.573e-05/0.005195, allocations: 67.31 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.005207, allocations: 4 kB / 483.6 MB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.005213, allocations: 4.922 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.005226, allocations: 7.938 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.471e-05/0.005301, allocations: 13.06 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.005304, allocations: 0 / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.771e-05/0.005331, allocations: 7.984 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.005341, allocations: 8.938 kB / 483.7 MB, free: 3.105 MB / 442.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.132e-05/0.005402, allocations: 114.7 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-06/0.005411, allocations: 4 kB / 483.8 MB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.005486, allocations: 54.11 kB / 483.9 MB, free: 2.922 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.005488, allocations: 5.094 kB / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.00549, allocations: 0 / 483.9 MB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.005493, allocations: 4 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.005647, allocations: 208.6 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005649, allocations: 4 kB / 484.1 MB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.00568, allocations: 8.359 kB / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.005685, allocations: 0 / 484.1 MB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.005693, allocations: 7.938 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005695, allocations: 0.75 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005696, allocations: 0 / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.597e-05/0.005772, allocations: 156.3 kB / 484.2 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.005777, allocations: 3.938 kB / 484.2 MB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.00579, allocations: 9.094 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.005823, allocations: 0 / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.00585, allocations: 11.98 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.005855, allocations: 1.031 kB / 484.3 MB, free: 2.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.377e-05/0.005868, allocations: 12.84 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005868, allocations: 0 / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001383/0.006007, allocations: 16.86 kB / 484.3 MB, free: 2.445 MB / 442.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 0.0001025/0.006109, allocations: 81.77 kB / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.107e-05/0.00618, allocations: 32.78 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.006183, allocations: 0.625 kB / 484.4 MB, free: 2.324 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.006211, allocations: 25.38 kB / 484.4 MB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.00635, allocations: 13.42 kB / 484.5 MB, free: 2.285 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.006718, allocations: 144.8 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.144e-05/0.006749, allocations: 59.34 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.006771, allocations: 4.969 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.006819, allocations: 56 kB / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.00682, allocations: 0 / 484.7 MB, free: 1.984 MB / 442.7 MB Notification: Performance of Templates: time 0.002424/0.009244, allocations: 0.8613 MB / 485.6 MB, free: 1.188 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.5289903259836137]