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.001468/0.001468, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0017/0.0017, allocations: 173 kB / 23.49 MB, free: 1.059 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.9954/0.9954, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.8141/0.8141, allocations: 154.8 MB / 415.1 MB, free: 0.5156 MB / 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 2.655e-06/2.655e-06, allocations: 0 / 0.5206 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.395e-05, allocations: 4.281 kB / 0.5206 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001463/0.001497, allocations: 0.7344 MB / 0.5213 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.002686, allocations: 1.202 MB / 0.5225 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.002736, allocations: 0 / 0.5225 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.002764, allocations: 5.344 kB / 0.5225 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.002835, allocations: 11.88 kB / 0.5225 GB, free: 356 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.003247, allocations: 132.7 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003393, allocations: 123.7 kB / 0.5227 GB, free: 100 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.003487, allocations: 4.688 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.003593, allocations: 75.81 kB / 0.5228 GB, free: 20 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.003679, allocations: 37.22 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.003702, allocations: 11.98 kB / 0.5229 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.003754, allocations: 19.94 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.003777, allocations: 17.27 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.636e-05/0.003834, allocations: 39.89 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.003984, allocations: 87.81 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.003987, allocations: 0 / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003988, allocations: 0.6875 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.003992, allocations: 0 / 0.523 GB, free: 15.81 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.0004632/0.004455, allocations: 432 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.004492, allocations: 8.031 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.004546, allocations: 20.77 kB / 0.5235 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.039e-05/0.004637, allocations: 120.5 kB / 0.5236 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.004651, allocations: 6.219 kB / 0.5236 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.004666, allocations: 4.375 kB / 0.5236 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.004797, allocations: 66.94 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.004803, allocations: 192 / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.004812, allocations: 384 / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.004819, allocations: 1.844 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.861e-05/0.004858, allocations: 19.92 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003819/0.00524, allocations: 311.6 kB / 0.524 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.005348, allocations: 52.06 kB / 0.524 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.887e-05/0.005377, allocations: 16.78 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.005385, allocations: 4 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.005492, allocations: 82.22 kB / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.005494, allocations: 0 / 0.5241 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000203/0.005696, allocations: 93.69 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.005735, allocations: 59.41 kB / 0.5243 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.005818, allocations: 174.4 kB / 0.5244 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.005837, allocations: 38.67 kB / 0.5245 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.005891, allocations: 142.8 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.005908, allocations: 15.89 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.005959, allocations: 44.58 kB / 0.5246 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006069, allocations: 0.4923 MB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.006144, allocations: 57.69 kB / 0.5252 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.468e-05/0.006228, allocations: 109.9 kB / 0.5253 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.00633, allocations: 126.1 kB / 0.5254 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.006333, allocations: 3.984 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002115/0.006544, allocations: 200.9 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.721e-05/0.006582, allocations: 46.66 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.006588, allocations: 4 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.006602, allocations: 0 / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.00668, allocations: 16.98 kB / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.006686, allocations: 0 / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.00677, allocations: 23.08 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.006787, allocations: 11.98 kB / 0.5257 GB, free: 12.78 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: 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 7.857e-05/0.006866, allocations: 172.5 kB / 0.5259 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.006879, allocations: 15.89 kB / 0.5259 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.006904, allocations: 8.438 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.006907, allocations: 4 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.006911, allocations: 2.75 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.006916, allocations: 3.984 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.007158, allocations: 337.3 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00716, allocations: 0 / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.007189, allocations: 7.984 kB / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007191, allocations: 0 / 0.5262 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.007199, allocations: 4 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.007202, allocations: 5.562 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007202, allocations: 0 / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.007321, allocations: 235.7 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.007327, allocations: 0 / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.007346, allocations: 9.281 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.007e-05/0.007386, allocations: 3.984 kB / 0.5265 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.007425, allocations: 4 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.007433, allocations: 7.984 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.981e-05/0.007473, allocations: 131.8 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007473, allocations: 0.8438 kB / 0.5266 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001719/0.007645, allocations: 27.98 kB / 0.5266 GB, free: 11.75 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: 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.000132/0.007777, allocations: 101.6 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.007972, allocations: 164.7 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.007975, allocations: 4 kB / 0.5269 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.008015, allocations: 34.05 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.008219, allocations: 18.66 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.008529, allocations: 166.7 kB / 0.5271 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.008566, allocations: 61.69 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.008591, allocations: 4 kB / 0.5272 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.008618, allocations: 12.5 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/0.008619, allocations: 4 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.003438/0.01206, allocations: 1.574 MB / 0.5287 GB, free: 9.637 MB / 0.4948 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: 4.079962681978941]