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.0009798/0.0009798, 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.0009301/0.0009301, allocations: 173 kB / 23.03 MB, free: 1.543 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.9457/0.9457, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7454/0.7454, allocations: 154.9 MB / 414.8 MB, free: 412 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 1.583e-06/1.583e-06, allocations: 0 / 0.5207 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.439e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002223/0.002247, allocations: 0.6651 MB / 0.5213 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00381/0.006057, allocations: 1.117 MB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.006099, allocations: 1 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.006131, allocations: 7.922 kB / 0.5224 GB, free: 80 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.006202, allocations: 12.84 kB / 0.5224 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.006452, allocations: 39.83 kB / 0.5225 GB, free: 28 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.006552, allocations: 44.66 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.61e-05/0.006639, allocations: 11.92 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.006715, allocations: 24.98 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.006757, allocations: 19.92 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.006774, allocations: 4 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.006839, allocations: 24.41 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.00686, allocations: 12.7 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.006892, allocations: 11.94 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.007016, allocations: 49.09 kB / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.007018, allocations: 0 / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.11e-07/0.007019, allocations: 0 / 0.5227 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.007023, allocations: 0 / 0.5227 GB, free: 15.83 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.0004588/0.007482, allocations: 389.1 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.007523, allocations: 13.75 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.007637, allocations: 12.89 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.99e-05/0.007727, allocations: 116.5 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.00774, allocations: 4.375 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.007751, allocations: 6.031 kB / 0.5232 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.007893, allocations: 62.94 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.007903, allocations: 4.188 kB / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.007913, allocations: 384 / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.007922, allocations: 384 / 0.5232 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.561e-05/0.007967, allocations: 25.38 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.009151, allocations: 271.7 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.009252, allocations: 47.73 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.009279, allocations: 11.69 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.009296, allocations: 5.453 kB / 0.5236 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.058e-05/0.009377, allocations: 65.12 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.009378, allocations: 0 / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.00304/0.01242, allocations: 74.92 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.01246, allocations: 59.39 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.01255, allocations: 169.9 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.01256, allocations: 25.7 kB / 0.524 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.01261, allocations: 131.5 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.01263, allocations: 15.92 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.01268, allocations: 38.67 kB / 0.5241 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.0128, allocations: 492.1 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.01282, allocations: 11.98 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-05/0.01287, allocations: 54.38 kB / 0.5247 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/0.01295, allocations: 74.8 kB / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01295, allocations: 0 / 0.5247 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001232/0.01308, allocations: 79.55 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01309, allocations: 7.938 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.0131, allocations: 5.469 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01311, allocations: 3.984 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01321, allocations: 20.19 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01322, allocations: 4 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.01326, allocations: 12.7 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.01327, allocations: 0 / 0.5249 GB, free: 13.33 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 7.474e-05/0.01334, allocations: 167.7 kB / 0.525 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/0.01336, allocations: 11.89 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.01348, allocations: 82.03 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.01348, allocations: 2.719 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01349, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01349, allocations: 0 / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.01373, allocations: 317.3 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01373, allocations: 4 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.294e-05/0.01376, allocations: 11.98 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01377, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.01377, allocations: 2.75 kB / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01378, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01378, allocations: 0 / 0.5254 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.0139, allocations: 215.8 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-06/0.01391, allocations: 7.984 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.01393, allocations: 3.984 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.011e-05/0.01398, allocations: 4 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01402, allocations: 8.922 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.01402, allocations: 4 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.01406, allocations: 127.1 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01406, allocations: 0.9375 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002379/0.0143, allocations: 16 kB / 0.5258 GB, free: 12.29 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.0001134/0.01441, allocations: 100.2 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.01452, allocations: 41.8 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01453, allocations: 0 / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.01456, allocations: 27.67 kB / 0.526 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.0148, allocations: 17.66 kB / 0.526 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.0192, allocations: 154 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/0.01925, allocations: 59.34 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.01928, allocations: 6.844 kB / 0.5262 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.01931, allocations: 12.5 kB / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.01931, allocations: 0 / 0.5262 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.003075/0.02239, allocations: 0.8855 MB / 0.5271 GB, free: 11 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.845369830727577]