Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.001929/0.001929, allocations: 85.48 kB / 19.44 MB, free: 344 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.001937/0.001937, allocations: 169.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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.133 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.384/1.384, allocations: 154.8 MB / 414.4 MB, free: 340 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.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.31e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002056/0.002089, allocations: 0.7362 MB / 0.5206 GB, free: 1.559 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.003864, allocations: 1.169 MB / 0.5217 GB, free: 388 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.003914, allocations: 4 kB / 0.5217 GB, free: 384 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.003941, allocations: 3.938 kB / 0.5217 GB, free: 380 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.696e-05/0.004027, allocations: 11.86 kB / 0.5217 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.004511, allocations: 136.5 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.004713, allocations: 116.9 kB / 0.522 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.004798, allocations: 8 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.004948, allocations: 71.81 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.005069, allocations: 40.75 kB / 0.5221 GB, free: 15.99 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.005104, allocations: 12 kB / 0.5221 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.005181, allocations: 24.55 kB / 0.5221 GB, free: 15.96 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.005205, allocations: 11.92 kB / 0.5221 GB, free: 15.95 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 7.373e-05/0.005278, allocations: 36.75 kB / 0.5222 GB, free: 15.91 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.005511, allocations: 131.6 kB / 0.5223 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.005513, allocations: 0.9688 kB / 0.5223 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005514, allocations: 0 / 0.5223 GB, free: 15.79 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.005517, allocations: 0 / 0.5223 GB, free: 15.79 MB / 0.4949 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.0006814/0.006199, allocations: 431.6 kB / 0.5227 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.006238, allocations: 8.031 kB / 0.5227 GB, free: 15.31 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.131e-05/0.006309, allocations: 16.88 kB / 0.5227 GB, free: 15.3 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.006444, allocations: 124.5 kB / 0.5229 GB, free: 15.15 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.006463, allocations: 4.938 kB / 0.5229 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.006489, allocations: 8.875 kB / 0.5229 GB, free: 15.14 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.006663, allocations: 59.27 kB / 0.5229 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.006672, allocations: 192 / 0.5229 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.006682, allocations: 384 / 0.5229 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.006686, allocations: 1.344 kB / 0.5229 GB, free: 15.07 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.006865, allocations: 35.92 kB / 0.523 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.007415, allocations: 324.2 kB / 0.5233 GB, free: 14.69 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.007599, allocations: 56.42 kB / 0.5233 GB, free: 14.62 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.007687, allocations: 31.8 kB / 0.5234 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.007701, allocations: 0.625 kB / 0.5234 GB, free: 14.59 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.007906, allocations: 98.39 kB / 0.5235 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.007908, allocations: 0 / 0.5235 GB, free: 14.48 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8): time 0.0004017/0.008309, allocations: 129.6 kB / 0.5236 GB, free: 14.34 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.008357, allocations: 52.03 kB / 0.5236 GB, free: 14.28 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.008514, allocations: 190.8 kB / 0.5238 GB, free: 14.08 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.008551, allocations: 33.64 kB / 0.5238 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/0.008789, allocations: 146.9 kB / 0.524 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.008816, allocations: 19.84 kB / 0.524 GB, free: 13.88 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.008911, allocations: 52.05 kB / 0.5241 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002661/0.009177, allocations: 0.4962 MB / 0.5245 GB, free: 13.31 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.00935, allocations: 82.17 kB / 0.5246 GB, free: 13.22 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.009561, allocations: 133.1 kB / 0.5247 GB, free: 13.07 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.009833, allocations: 155.9 kB / 0.5249 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009835, allocations: 0 / 0.5249 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004715/0.01031, allocations: 248.9 kB / 0.5251 GB, free: 12.63 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.01036, allocations: 41.64 kB / 0.5252 GB, free: 12.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01036, allocations: 1.562 kB / 0.5252 GB, free: 12.58 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01038, allocations: 4 kB / 0.5252 GB, free: 12.58 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.222e-05/0.01046, allocations: 7.984 kB / 0.5252 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01047, allocations: 4 kB / 0.5252 GB, free: 12.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.01062, allocations: 21.02 kB / 0.5252 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.01065, allocations: 17.17 kB / 0.5252 GB, free: 12.53 MB / 0.4949 GB 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,edge1.y,edge1.u,$PRE.edge1.u,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 0.0001448/0.0108, allocations: 164.5 kB / 0.5254 GB, free: 12.36 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.01083, allocations: 16.45 kB / 0.5254 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.01085, allocations: 8.438 kB / 0.5254 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01086, allocations: 1.031 kB / 0.5254 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01086, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.01087, allocations: 7.984 kB / 0.5254 GB, free: 12.33 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.01134, allocations: 370.2 kB / 0.5258 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01134, allocations: 0.75 kB / 0.5258 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.01139, allocations: 11.98 kB / 0.5258 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01139, allocations: 2.75 kB / 0.5258 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.0114, allocations: 4.062 kB / 0.5258 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.0114, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0114, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.01174, allocations: 263.8 kB / 0.526 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.01175, allocations: 3.953 kB / 0.526 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01177, allocations: 4 kB / 0.526 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.01184, allocations: 2.906 kB / 0.526 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.01189, allocations: 7.984 kB / 0.526 GB, free: 11.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.0119, allocations: 15.92 kB / 0.5261 GB, free: 11.6 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 8.567e-05/0.01199, allocations: 131.2 kB / 0.5262 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01199, allocations: 0 / 0.5262 GB, free: 11.47 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002479/0.01224, allocations: 20 kB / 0.5262 GB, free: 11.45 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001609/0.0124, allocations: 104.7 kB / 0.5263 GB, free: 11.34 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.01282, allocations: 213.2 kB / 0.5265 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01282, allocations: 0 / 0.5265 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.01293, allocations: 46.89 kB / 0.5266 GB, free: 11.07 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01322, allocations: 16.7 kB / 0.5266 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.01361, allocations: 170.8 kB / 0.5267 GB, free: 10.85 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.141e-05/0.0137, allocations: 71.33 kB / 0.5268 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.01373, allocations: 6.469 kB / 0.5268 GB, free: 10.76 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.01376, allocations: 16.48 kB / 0.5268 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of SimCode: time 4.71e-07/0.01376, allocations: 0 / 0.5268 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of Templates: time 0.005054/0.01882, allocations: 1.569 MB / 0.5284 GB, free: 9.27 MB / 0.4949 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.088032796047628]