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.001409/0.001409, allocations: 93.06 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.001833/0.001833, allocations: 169 kB / 23.02 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.8553/0.8553, allocations: 154.9 MB / 414.8 MB, free: 400 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.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 3.687e-06/3.687e-06, allocations: 0 / 0.5207 GB, free: 0.707 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.999e-05, allocations: 12.5 kB / 0.5207 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.004908/0.004948, allocations: 0.7316 MB / 0.5214 GB, free: 15.99 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.006398, allocations: 1.195 MB / 0.5226 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.006454, allocations: 5.469 kB / 0.5226 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.006493, allocations: 7.922 kB / 0.5226 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.006576, allocations: 11.86 kB / 0.5226 GB, free: 14.76 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.01013, allocations: 136.9 kB / 0.5227 GB, free: 14.63 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.01032, allocations: 123.3 kB / 0.5228 GB, free: 14.51 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.01042, allocations: 8 kB / 0.5229 GB, free: 14.5 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.01054, allocations: 67.88 kB / 0.5229 GB, free: 14.44 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.01063, allocations: 31.94 kB / 0.5229 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.01066, allocations: 12 kB / 0.523 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.01073, allocations: 27.92 kB / 0.523 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/0.01076, allocations: 15.92 kB / 0.523 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.01082, allocations: 31.97 kB / 0.523 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.01102, allocations: 99.67 kB / 0.5231 GB, free: 14.22 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01103, allocations: 0 / 0.5231 GB, free: 14.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01103, allocations: 0.5625 kB / 0.5231 GB, free: 14.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.01104, allocations: 0.5625 kB / 0.5231 GB, free: 14.22 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.0005421/0.01158, allocations: 431.1 kB / 0.5235 GB, free: 13.76 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.01162, allocations: 8.031 kB / 0.5235 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.13e-05/0.01168, allocations: 8.938 kB / 0.5236 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.01178, allocations: 121.9 kB / 0.5237 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.0118, allocations: 12.36 kB / 0.5237 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.01182, allocations: 8.312 kB / 0.5237 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.01197, allocations: 63.62 kB / 0.5238 GB, free: 13.51 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.01198, allocations: 4.188 kB / 0.5238 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.01199, allocations: 1.25 kB / 0.5238 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.012, allocations: 384 / 0.5238 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.227e-05/0.01205, allocations: 15.92 kB / 0.5238 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.0125, allocations: 317.3 kB / 0.5241 GB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.01263, allocations: 51.09 kB / 0.5241 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.01266, allocations: 12.31 kB / 0.5241 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.01267, allocations: 5.062 kB / 0.5241 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.0128, allocations: 85.03 kB / 0.5242 GB, free: 12.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.01281, allocations: 0 / 0.5242 GB, free: 12.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.003263/0.01607, allocations: 91.2 kB / 0.5243 GB, free: 12.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.01611, allocations: 55.41 kB / 0.5244 GB, free: 12.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.01621, allocations: 177.9 kB / 0.5245 GB, free: 12.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.01624, allocations: 30.48 kB / 0.5246 GB, free: 12.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.0163, allocations: 138.9 kB / 0.5247 GB, free: 12.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.01633, allocations: 27.78 kB / 0.5247 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.0164, allocations: 44.67 kB / 0.5248 GB, free: 12.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.01653, allocations: 0.4922 MB / 0.5252 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/0.01663, allocations: 61.69 kB / 0.5253 GB, free: 11.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.01673, allocations: 110.7 kB / 0.5254 GB, free: 11.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.01687, allocations: 124.1 kB / 0.5255 GB, free: 11.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01688, allocations: 0 / 0.5255 GB, free: 11.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002786/0.01715, allocations: 207.1 kB / 0.5257 GB, free: 11.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.01719, allocations: 41.62 kB / 0.5258 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0172, allocations: 0 / 0.5258 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01721, allocations: 4 kB / 0.5258 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.0173, allocations: 22.67 kB / 0.5258 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.01731, allocations: 0 / 0.5258 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.01742, allocations: 19.98 kB / 0.5258 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.01744, allocations: 11.98 kB / 0.5258 GB, free: 11.19 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,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 9.103e-05/0.01754, allocations: 167.6 kB / 0.526 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.01756, allocations: 21.3 kB / 0.526 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.01758, allocations: 4.438 kB / 0.526 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01758, allocations: 0 / 0.526 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.01759, allocations: 0 / 0.526 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01759, allocations: 4.938 kB / 0.526 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.0179, allocations: 345.3 kB / 0.5263 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.0179, allocations: 0.9375 kB / 0.5263 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.01794, allocations: 7.984 kB / 0.5263 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01794, allocations: 0 / 0.5263 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.01795, allocations: 4.656 kB / 0.5263 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01796, allocations: 0 / 0.5263 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01796, allocations: 0.625 kB / 0.5263 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.01812, allocations: 241 kB / 0.5266 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.01813, allocations: 3.953 kB / 0.5266 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.01815, allocations: 8 kB / 0.5266 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.93e-05/0.01821, allocations: 8.547 kB / 0.5266 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.01825, allocations: 4 kB / 0.5266 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.01826, allocations: 4.641 kB / 0.5266 GB, free: 10.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.604e-05/0.01831, allocations: 131.2 kB / 0.5267 GB, free: 10.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01831, allocations: 0.9375 kB / 0.5267 GB, free: 10.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.01857, allocations: 31.98 kB / 0.5268 GB, free: 10.16 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 (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.003167/0.02174, allocations: 100.1 kB / 0.5269 GB, free: 10.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.02199, allocations: 164.7 kB / 0.527 GB, free: 9.871 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.02199, allocations: 4 kB / 0.527 GB, free: 9.867 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/0.02204, allocations: 23.67 kB / 0.527 GB, free: 9.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.02232, allocations: 27.17 kB / 0.5271 GB, free: 9.816 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.02269, allocations: 162.8 kB / 0.5272 GB, free: 9.621 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.02274, allocations: 63.2 kB / 0.5273 GB, free: 9.539 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.89e-05/0.02277, allocations: 4 kB / 0.5273 GB, free: 9.535 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.0228, allocations: 14.22 kB / 0.5273 GB, free: 9.523 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.0228, allocations: 0 / 0.5273 GB, free: 9.523 MB / 458.7 MB Notification: Performance of Templates: time 0.00736/0.03016, allocations: 1.712 MB / 0.529 GB, free: 7.918 MB / 458.7 MB " [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: 3.877091499045491]