Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001349/0.001349, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.001064/0.001064, allocations: 169 kB / 23.28 MB, free: 1.219 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.902/0.902, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7338/0.7338, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.5211 GB, free: 1.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.498e-05, allocations: 6.688 kB / 0.5211 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001361/0.001386, allocations: 0.6467 MB / 0.5217 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.002492, allocations: 1.119 MB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.632e-05/0.002538, allocations: 0 / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.002565, allocations: 3.938 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.68e-05/0.002631, allocations: 3.734 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.002879, allocations: 43.77 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.751e-05/0.002956, allocations: 56.55 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.723e-05/0.003033, allocations: 4 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.732e-05/0.003111, allocations: 32.47 kB / 0.523 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.00315, allocations: 17.19 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.003164, allocations: 4 kB / 0.523 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.003223, allocations: 23.92 kB / 0.523 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.003239, allocations: 8.562 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.003269, allocations: 19.97 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.003369, allocations: 49.62 kB / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003371, allocations: 0 / 0.5231 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003373, allocations: 4 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003376, allocations: 0 / 0.5231 GB, free: 15.55 MB / 0.4948 GB 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.0003565/0.003732, allocations: 382.2 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.00377, allocations: 12.03 kB / 0.5235 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.003845, allocations: 12.88 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.676e-05/0.003912, allocations: 116.5 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.003922, allocations: 384 / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003931, allocations: 13.73 kB / 0.5236 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.601e-05/0.004027, allocations: 62.88 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004034, allocations: 192 / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.00404, allocations: 0.9062 kB / 0.5237 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.004046, allocations: 4.375 kB / 0.5237 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.00407, allocations: 12.67 kB / 0.5237 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.004345, allocations: 261.8 kB / 0.5239 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.004405, allocations: 46.92 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.004419, allocations: 11.69 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.004438, allocations: 5.469 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/0.004502, allocations: 61.12 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.004503, allocations: 3.531 kB / 0.5241 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001337/0.004637, allocations: 81.5 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.004665, allocations: 55.41 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.00473, allocations: 165.9 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.004741, allocations: 25.7 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.066e-05/0.004782, allocations: 130.9 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.004799, allocations: 23.81 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.004831, allocations: 27.38 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.004934, allocations: 0.4884 MB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.004949, allocations: 4 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.00498, allocations: 50.98 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.489e-05/0.005035, allocations: 73.36 kB / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005037, allocations: 0 / 0.5251 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.65e-05/0.005123, allocations: 82.28 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005135, allocations: 4 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.005141, allocations: 6.281 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.005154, allocations: 4 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.867e-05/0.005222, allocations: 19.92 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.005225, allocations: 0 / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.005251, allocations: 8 kB / 0.5253 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.005258, allocations: 4 kB / 0.5253 GB, free: 13.1 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 6.272e-05/0.00532, allocations: 159.3 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.005331, allocations: 11.95 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.052e-05/0.005422, allocations: 73.98 kB / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.005424, allocations: 0 / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.005425, allocations: 0 / 0.5255 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005427, allocations: 4 kB / 0.5255 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.005597, allocations: 291.3 kB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005599, allocations: 0 / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.005627, allocations: 15.92 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.005629, allocations: 3.938 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.005634, allocations: 5.312 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005636, allocations: 4.25 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.005638, allocations: 4.938 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.988e-05/0.005738, allocations: 211.9 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-06/0.005743, allocations: 0 / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.005759, allocations: 16.58 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.005791, allocations: 1.031 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.005815, allocations: 4 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.005819, allocations: 3.984 kB / 0.526 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.005852, allocations: 129.7 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005852, allocations: 0 / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001508/0.006003, allocations: 19.94 kB / 0.5262 GB, free: 12.1 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.0001155/0.006118, allocations: 103.2 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.966e-05/0.006198, allocations: 42.73 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.006199, allocations: 0 / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.589e-05/0.006225, allocations: 19.67 kB / 0.5263 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.006398, allocations: 6.031 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.006756, allocations: 159.6 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.006793, allocations: 67.28 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.006816, allocations: 4 kB / 0.5266 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.006865, allocations: 74.2 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.006865, allocations: 3.531 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.002369/0.009234, allocations: 0.9138 MB / 0.5275 GB, free: 10.72 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4618465048260987]