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.0009043/0.0009043, 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.001468/0.001468, 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.9775/0.9775, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8457/0.8457, allocations: 154.6 MB / 414.8 MB, free: 484 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. " [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.713e-06/1.713e-06, allocations: 0 / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.469e-05, allocations: 4.281 kB / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001293/0.001307, allocations: 0.7105 MB / 480.7 MB, free: 6.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.002451, allocations: 1.125 MB / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.002498, allocations: 0 / 481.9 MB, free: 5.082 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.002525, allocations: 8.578 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.002593, allocations: 3.172 kB / 481.9 MB, free: 5.074 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.002833, allocations: 49.75 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.189e-05/0.002925, allocations: 43.31 kB / 482 MB, free: 4.992 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.002997, allocations: 15.97 kB / 482 MB, free: 4.977 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.00307, allocations: 23.23 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.00311, allocations: 13.95 kB / 482 MB, free: 4.945 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.003122, allocations: 8 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.003192, allocations: 25 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.00321, allocations: 10.39 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.003234, allocations: 14.02 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.003334, allocations: 52.84 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003337, allocations: 4.578 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003338, allocations: 1.406 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003341, allocations: 4 kB / 482.1 MB, free: 4.836 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.0003031/0.003644, allocations: 251.9 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.003674, allocations: 12.03 kB / 482.4 MB, free: 4.555 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.003751, allocations: 5.719 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.682e-05/0.003848, allocations: 121.7 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.00386, allocations: 9.875 kB / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.003868, allocations: 384 / 482.5 MB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.003964, allocations: 62.94 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.003972, allocations: 192 / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003979, allocations: 1.219 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.003988, allocations: 7.984 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.723e-05/0.004016, allocations: 12.81 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.004279, allocations: 165.5 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.004343, allocations: 31.19 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.00436, allocations: 8.859 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.004374, allocations: 3.312 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.224e-05/0.004456, allocations: 59.53 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.004457, allocations: 0 / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001427/0.0046, allocations: 57.62 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.00464, allocations: 55.41 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.004708, allocations: 114.7 kB / 483.1 MB, free: 3.762 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.004721, allocations: 25.7 kB / 483.1 MB, free: 3.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.004762, allocations: 96.02 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.004781, allocations: 20.39 kB / 483.2 MB, free: 3.613 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.004819, allocations: 25.66 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.004901, allocations: 324.1 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.004914, allocations: 4 kB / 483.6 MB, free: 3.254 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.004944, allocations: 36.28 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.004999, allocations: 54.45 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.005001, allocations: 0.625 kB / 483.7 MB, free: 3.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.864e-05/0.005079, allocations: 78.8 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.00509, allocations: 4.625 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005094, allocations: 320 / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.005109, allocations: 8.875 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.005183, allocations: 15.98 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.005188, allocations: 5.5 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.005213, allocations: 4 kB / 483.8 MB, free: 3.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.005222, allocations: 11.98 kB / 483.8 MB, free: 3.008 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 5.452e-05/0.005277, allocations: 113.8 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-06/0.005284, allocations: 4.906 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.052e-05/0.005354, allocations: 54.11 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.005357, allocations: 4.938 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.00536, allocations: 4 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005363, allocations: 0 / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.005526, allocations: 211.2 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005528, allocations: 1.719 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.005554, allocations: 4 kB / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.005555, allocations: 0 / 484.2 MB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.005562, allocations: 7.922 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.005563, allocations: 0 / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.005564, allocations: 5.656 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.005677, allocations: 143.5 kB / 484.3 MB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.005687, allocations: 4 kB / 484.3 MB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.005705, allocations: 7.922 kB / 484.3 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.005764, allocations: 4.875 kB / 484.3 MB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.005797, allocations: 11.98 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.005801, allocations: 2 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.598e-05/0.005817, allocations: 16.84 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005817, allocations: 0 / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.005984, allocations: 8 kB / 484.4 MB, free: 2.359 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.0001066/0.00609, allocations: 93.66 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.147e-05/0.006182, allocations: 33.66 kB / 484.5 MB, free: 2.227 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.006186, allocations: 4 kB / 484.5 MB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.006212, allocations: 16.8 kB / 484.5 MB, free: 2.203 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.006354, allocations: 13.48 kB / 484.5 MB, free: 2.191 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.006711, allocations: 152.9 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.006743, allocations: 55.95 kB / 484.7 MB, free: 1.945 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.339e-05/0.006766, allocations: 6.797 kB / 484.7 MB, free: 1.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.006812, allocations: 55.36 kB / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of SimCode: time 8.92e-07/0.006813, allocations: 0 / 484.8 MB, free: 1.887 MB / 442.7 MB Notification: Performance of Templates: time 0.002633/0.009447, allocations: 0.8624 MB / 485.7 MB, free: 1.09 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6368821221403778]