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.001021/0.001021, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001047/0.001047, allocations: 169 kB / 23.02 MB, free: 1.551 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.9764/0.9764, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8451/0.8451, allocations: 154.8 MB / 414.7 MB, free: 488 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 3.136e-06/3.136e-06, allocations: 3.938 kB / 0.5205 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.299e-05, allocations: 8.547 kB / 0.5205 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001643/0.001676, allocations: 0.6691 MB / 0.5212 GB, free: 252 kB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.00286, allocations: 1.112 MB / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.00292, allocations: 3.938 kB / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.002952, allocations: 0 / 0.5223 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.003025, allocations: 13.41 kB / 0.5223 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.003319, allocations: 43.77 kB / 0.5223 GB, free: 15.06 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.003403, allocations: 48.64 kB / 0.5224 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.003502, allocations: 15.92 kB / 0.5224 GB, free: 15 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.003581, allocations: 30.78 kB / 0.5224 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.003626, allocations: 11.98 kB / 0.5224 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.003643, allocations: 8 kB / 0.5224 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.00371, allocations: 19.97 kB / 0.5225 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.003734, allocations: 11.92 kB / 0.5225 GB, free: 14.92 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.003765, allocations: 12 kB / 0.5225 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.003894, allocations: 51.81 kB / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003896, allocations: 0 / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003897, allocations: 0.5 kB / 0.5225 GB, free: 14.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.003902, allocations: 0.7188 kB / 0.5225 GB, free: 14.86 MB / 458.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.0004386/0.004341, allocations: 388.4 kB / 0.5229 GB, free: 14.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.00438, allocations: 8.906 kB / 0.5229 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.004492, allocations: 16.89 kB / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.004591, allocations: 117.5 kB / 0.523 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.004604, allocations: 384 / 0.523 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.004618, allocations: 4.375 kB / 0.523 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.00476, allocations: 63.84 kB / 0.5231 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.004771, allocations: 192 / 0.5231 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.004782, allocations: 0.9375 kB / 0.5231 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.00479, allocations: 1.344 kB / 0.5231 GB, free: 14.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.00483, allocations: 23.86 kB / 0.5231 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.005262, allocations: 273.5 kB / 0.5234 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.005356, allocations: 43.05 kB / 0.5234 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.005381, allocations: 11.69 kB / 0.5234 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.005404, allocations: 4 kB / 0.5234 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.294e-05/0.005497, allocations: 69.55 kB / 0.5235 GB, free: 13.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.005498, allocations: 1.031 kB / 0.5235 GB, free: 13.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001938/0.005692, allocations: 73.69 kB / 0.5236 GB, free: 13.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.005734, allocations: 56.58 kB / 0.5236 GB, free: 13.58 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.005817, allocations: 169.9 kB / 0.5238 GB, free: 13.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.005829, allocations: 25.7 kB / 0.5238 GB, free: 13.36 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.005882, allocations: 134.9 kB / 0.524 GB, free: 13.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.005903, allocations: 16.47 kB / 0.524 GB, free: 13.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.005944, allocations: 32.73 kB / 0.524 GB, free: 13.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.006083, allocations: 0.4884 MB / 0.5245 GB, free: 12.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.006112, allocations: 11.92 kB / 0.5245 GB, free: 12.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.00616, allocations: 54.62 kB / 0.5245 GB, free: 12.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.006237, allocations: 68.83 kB / 0.5246 GB, free: 12.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.00624, allocations: 8 kB / 0.5246 GB, free: 12.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001076/0.006347, allocations: 83.52 kB / 0.5247 GB, free: 12.41 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.006362, allocations: 11.94 kB / 0.5247 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.006367, allocations: 0 / 0.5247 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.006386, allocations: 4.688 kB / 0.5247 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.006492, allocations: 15.98 kB / 0.5247 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.006501, allocations: 1.031 kB / 0.5247 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.006538, allocations: 7.984 kB / 0.5247 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.006547, allocations: 4.75 kB / 0.5247 GB, free: 12.36 MB / 458.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 8.277e-05/0.00663, allocations: 165.5 kB / 0.5249 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.006642, allocations: 7.938 kB / 0.5249 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.006787, allocations: 76.81 kB / 0.525 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.006792, allocations: 4 kB / 0.525 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.006797, allocations: 0 / 0.525 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.006803, allocations: 0 / 0.525 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.007076, allocations: 325.4 kB / 0.5253 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.00708, allocations: 0 / 0.5253 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.007126, allocations: 7.984 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007128, allocations: 4 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.007136, allocations: 1.25 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.007138, allocations: 3.984 kB / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.00714, allocations: 0 / 0.5253 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.007279, allocations: 216.4 kB / 0.5255 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.007288, allocations: 3.953 kB / 0.5255 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.00731, allocations: 8.703 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.007352, allocations: 8.969 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.007403, allocations: 4 kB / 0.5255 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.007411, allocations: 5.297 kB / 0.5255 GB, free: 11.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.00746, allocations: 127.2 kB / 0.5257 GB, free: 11.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00746, allocations: 0 / 0.5257 GB, free: 11.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001795/0.007639, allocations: 15.94 kB / 0.5257 GB, free: 11.33 MB / 458.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.0001506/0.00779, allocations: 104.7 kB / 0.5258 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.007905, allocations: 40.27 kB / 0.5258 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.007907, allocations: 9.031 kB / 0.5258 GB, free: 11.17 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.007951, allocations: 27.61 kB / 0.5259 GB, free: 11.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.008158, allocations: 12.8 kB / 0.5259 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.008689, allocations: 146.3 kB / 0.526 GB, free: 10.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.00873, allocations: 59.34 kB / 0.5261 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.008755, allocations: 4 kB / 0.5261 GB, free: 10.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.008782, allocations: 11.06 kB / 0.5261 GB, free: 10.87 MB / 458.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008783, allocations: 4 kB / 0.5261 GB, free: 10.86 MB / 458.7 MB Notification: Performance of Templates: time 0.002928/0.01171, allocations: 0.8407 MB / 0.5269 GB, free: 10.07 MB / 458.7 MB " [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.9916539043188095]