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.001821/0.001821, allocations: 81.5 kB / 19.44 MB, free: 348 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.002327/0.002327, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.594/1.594, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.361/1.361, allocations: 154.8 MB / 414.4 MB, free: 476 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 178] 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.484e-06/2.484e-06, allocations: 0 / 0.5198 GB, free: 2.336 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.828e-05/3.077e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001956/0.001987, allocations: 0.6637 MB / 0.5205 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.003677, allocations: 1.085 MB / 0.5215 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.003726, allocations: 4 kB / 0.5215 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.00376, allocations: 5.5 kB / 0.5215 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.643e-05/0.003837, allocations: 7.875 kB / 0.5216 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.004144, allocations: 51.7 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.004267, allocations: 47.83 kB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.004354, allocations: 8.75 kB / 0.5217 GB, free: 484 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.004457, allocations: 33.38 kB / 0.5217 GB, free: 452 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.004505, allocations: 15.97 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.004525, allocations: 4 kB / 0.5217 GB, free: 432 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.07e-05/0.004615, allocations: 19.98 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.00464, allocations: 13.28 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.004682, allocations: 15.97 kB / 0.5218 GB, free: 384 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.004855, allocations: 67.77 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.004863, allocations: 4 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004864, allocations: 1 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.004869, allocations: 0 / 0.5218 GB, free: 312 kB / 490.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.0006266/0.005495, allocations: 387.1 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.005534, allocations: 8.031 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.00566, allocations: 8.891 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.005796, allocations: 116.5 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.005815, allocations: 8.359 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.005827, allocations: 4.375 kB / 0.5223 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.005998, allocations: 50.25 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006008, allocations: 192 / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.006024, allocations: 8.922 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.006031, allocations: 4.938 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.006164, allocations: 28.77 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.006712, allocations: 284.2 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.006876, allocations: 60.53 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.006951, allocations: 19.81 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.00698, allocations: 7.984 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/0.007147, allocations: 73.94 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.007148, allocations: 0 / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003697/0.007518, allocations: 103 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.007581, allocations: 55.41 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.007741, allocations: 185.9 kB / 0.5232 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.007766, allocations: 26.86 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.007864, allocations: 134.9 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.007889, allocations: 19.78 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-05/0.007951, allocations: 36.05 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002902/0.008241, allocations: 0.4884 MB / 0.5239 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.008318, allocations: 21.27 kB / 0.5239 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.008448, allocations: 70.36 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.008646, allocations: 90.7 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.008648, allocations: 0 / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002418/0.00889, allocations: 109.5 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.008911, allocations: 14.12 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.008916, allocations: 2.75 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.008935, allocations: 4 kB / 0.5242 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.009046, allocations: 15.98 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.009053, allocations: 0 / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.009105, allocations: 4 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.009119, allocations: 4.25 kB / 0.5242 GB, free: 13.66 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 0.0001389/0.009258, allocations: 169 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.009285, allocations: 19.88 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.009532, allocations: 91.42 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.009534, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.009538, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.009542, allocations: 0.5625 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.009988, allocations: 345.8 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.00999, allocations: 1.031 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.01004, allocations: 7.984 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01004, allocations: 0 / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.01005, allocations: 0.5 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01005, allocations: 1.812 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01005, allocations: 4 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.01035, allocations: 239.8 kB / 0.525 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.01038, allocations: 11.92 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.01039, allocations: 2.438 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.01046, allocations: 4 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.01051, allocations: 3.984 kB / 0.525 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01052, allocations: 8 kB / 0.5251 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.636e-05/0.01061, allocations: 123.2 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01061, allocations: 0 / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002329/0.01084, allocations: 19.94 kB / 0.5252 GB, free: 12.56 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.0001867/0.01103, allocations: 101.7 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.01126, allocations: 67.59 kB / 0.5253 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01126, allocations: 1.031 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01136, allocations: 31.67 kB / 0.5254 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.01162, allocations: 17.17 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.01201, allocations: 151.6 kB / 0.5255 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.391e-05/0.0121, allocations: 75.19 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.01213, allocations: 5.281 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.01217, allocations: 12.5 kB / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/0.01217, allocations: 0 / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.004165/0.01633, allocations: 0.8401 MB / 0.5265 GB, free: 11.25 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: 6.122567726997659]