Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.0009148/0.0009148, allocations: 93.06 kB / 19.65 MB, free: 280 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.001038/0.001038, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7861/0.7861, 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.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.179e-06/5.179e-06, allocations: 0 / 0.5207 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.068e-05/4.586e-05, allocations: 7.438 kB / 0.5207 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001916/0.001962, allocations: 0.7402 MB / 0.5214 GB, free: 15.97 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.003339, allocations: 1.197 MB / 0.5226 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.003394, allocations: 4 kB / 0.5226 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.003432, allocations: 8.375 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/0.003522, allocations: 12 kB / 0.5226 GB, free: 14.75 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.004004, allocations: 131.6 kB / 0.5227 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.004255, allocations: 125.4 kB / 0.5228 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004356, allocations: 15.98 kB / 0.5229 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.00447, allocations: 63.89 kB / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.004554, allocations: 39.92 kB / 0.523 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.004581, allocations: 8 kB / 0.523 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.784e-05/0.004649, allocations: 21.5 kB / 0.523 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.004676, allocations: 15.92 kB / 0.523 GB, free: 14.34 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.004736, allocations: 39.89 kB / 0.523 GB, free: 14.3 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.0049, allocations: 91.75 kB / 0.5231 GB, free: 14.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004902, allocations: 0.75 kB / 0.5231 GB, free: 14.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004903, allocations: 0 / 0.5231 GB, free: 14.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.004907, allocations: 5.406 kB / 0.5231 GB, free: 14.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005158/0.005423, allocations: 434.1 kB / 0.5236 GB, free: 13.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.005461, allocations: 8.031 kB / 0.5236 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.005518, allocations: 10.28 kB / 0.5236 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.00561, allocations: 124.5 kB / 0.5237 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.005625, allocations: 4.375 kB / 0.5237 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.005642, allocations: 8.375 kB / 0.5237 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.005785, allocations: 67.64 kB / 0.5238 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.005795, allocations: 4.172 kB / 0.5238 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.005806, allocations: 7.562 kB / 0.5238 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.005815, allocations: 384 / 0.5238 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.005856, allocations: 23.86 kB / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.006263, allocations: 315.7 kB / 0.5241 GB, free: 13.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.006371, allocations: 47.05 kB / 0.5241 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.006402, allocations: 15.69 kB / 0.5242 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.006409, allocations: 0.5625 kB / 0.5242 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.006511, allocations: 77.59 kB / 0.5242 GB, free: 12.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.163e-06/0.006512, allocations: 0 / 0.5242 GB, free: 12.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002241/0.006737, allocations: 102.5 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.006774, allocations: 55.41 kB / 0.5244 GB, free: 12.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.007018, allocations: 178.7 kB / 0.5246 GB, free: 12.58 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.007037, allocations: 29.7 kB / 0.5246 GB, free: 12.54 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.808e-05/0.007096, allocations: 144.2 kB / 0.5247 GB, free: 12.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.007114, allocations: 15.91 kB / 0.5247 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.007166, allocations: 47.34 kB / 0.5248 GB, free: 12.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.007278, allocations: 497.1 kB / 0.5253 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.523e-05/0.007353, allocations: 61.67 kB / 0.5253 GB, free: 11.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.234e-05/0.007436, allocations: 112 kB / 0.5254 GB, free: 11.63 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.007538, allocations: 126.7 kB / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00754, allocations: 0 / 0.5255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002172/0.007757, allocations: 217.6 kB / 0.5258 GB, free: 11.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.007788, allocations: 37.69 kB / 0.5258 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007793, allocations: 1.281 kB / 0.5258 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.007806, allocations: 64 / 0.5258 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.007876, allocations: 12 kB / 0.5258 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.007882, allocations: 9.281 kB / 0.5258 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.063e-05/0.007973, allocations: 31.92 kB / 0.5258 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.007987, allocations: 6.875 kB / 0.5258 GB, free: 11.15 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.198e-05/0.008069, allocations: 175.4 kB / 0.526 GB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.00808, allocations: 7.938 kB / 0.526 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.008106, allocations: 12.44 kB / 0.526 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008108, allocations: 0 / 0.526 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.008112, allocations: 0 / 0.526 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.008115, allocations: 0 / 0.526 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.008354, allocations: 348 kB / 0.5264 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008355, allocations: 0 / 0.5264 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.008379, allocations: 7.984 kB / 0.5264 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.008382, allocations: 4 kB / 0.5264 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.00839, allocations: 0 / 0.5264 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.008391, allocations: 0 / 0.5264 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008393, allocations: 0 / 0.5264 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.008521, allocations: 240.5 kB / 0.5266 GB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.008529, allocations: 7.953 kB / 0.5266 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.008548, allocations: 1.062 kB / 0.5266 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.008584, allocations: 8 kB / 0.5266 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.008623, allocations: 3.984 kB / 0.5266 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.008628, allocations: 4.812 kB / 0.5266 GB, free: 10.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.425e-05/0.008673, allocations: 141.7 kB / 0.5268 GB, free: 10.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008673, allocations: 5.5 kB / 0.5268 GB, free: 10.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000175/0.008848, allocations: 20 kB / 0.5268 GB, free: 10.12 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001151/0.008963, allocations: 108.5 kB / 0.5269 GB, free: 10.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.00916, allocations: 164.7 kB / 0.527 GB, free: 9.832 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009162, allocations: 0 / 0.527 GB, free: 9.832 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.956e-05/0.009201, allocations: 35.59 kB / 0.5271 GB, free: 9.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.009394, allocations: 26.55 kB / 0.5271 GB, free: 9.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.009695, allocations: 162.6 kB / 0.5273 GB, free: 9.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.009732, allocations: 63.2 kB / 0.5273 GB, free: 9.496 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.358e-05/0.009756, allocations: 4 kB / 0.5273 GB, free: 9.492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.009781, allocations: 13.34 kB / 0.5273 GB, free: 9.48 MB / 458.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009782, allocations: 0 / 0.5273 GB, free: 9.48 MB / 458.7 MB Notification: Performance of Templates: time 0.003847/0.01363, allocations: 1.714 MB / 0.529 GB, free: 7.871 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7382620871067047]