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.0008818/0.0008818, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001225/0.001225, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9428/0.9428, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.773/0.773, allocations: 154.9 MB / 415.1 MB, free: 248 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.366e-06/3.366e-06, allocations: 0.5469 kB / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.771e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001392/0.00142, allocations: 0.7191 MB / 0.5218 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.002798, allocations: 1.205 MB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.002848, allocations: 4 kB / 0.523 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.002879, allocations: 7.922 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.002954, allocations: 7.875 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.003356, allocations: 141.3 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.00349, allocations: 111.8 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.003574, allocations: 13.56 kB / 0.5233 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.003686, allocations: 63.94 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.003765, allocations: 39.86 kB / 0.5234 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.003786, allocations: 12 kB / 0.5234 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.003842, allocations: 20.75 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.003866, allocations: 11.98 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.003909, allocations: 41.36 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.004041, allocations: 95.69 kB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004043, allocations: 0 / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004044, allocations: 0 / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.004048, allocations: 1.344 kB / 0.5236 GB, free: 15.01 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.0004366/0.004485, allocations: 430.1 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.004532, allocations: 8.031 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.004574, allocations: 13.7 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.004664, allocations: 116.6 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.004678, allocations: 8.359 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.004693, allocations: 7.469 kB / 0.5241 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.004803, allocations: 62.94 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00481, allocations: 192 / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.004817, allocations: 4.375 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.004825, allocations: 4.312 kB / 0.5242 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.004851, allocations: 11.92 kB / 0.5242 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.005166, allocations: 292.4 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.235e-05/0.005259, allocations: 48.19 kB / 0.5245 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.005282, allocations: 16.36 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.00529, allocations: 0 / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.944e-05/0.005389, allocations: 77.8 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.005391, allocations: 0 / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0001781/0.005569, allocations: 94.97 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.005606, allocations: 55.41 kB / 0.5248 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.005697, allocations: 181.4 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.00572, allocations: 34.62 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.005787, allocations: 146.8 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.005809, allocations: 19.89 kB / 0.5251 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.005863, allocations: 44.72 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.006001, allocations: 496.1 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.006061, allocations: 61.67 kB / 0.5257 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.006136, allocations: 104.1 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.006229, allocations: 114.4 kB / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006231, allocations: 0 / 0.5259 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002079/0.006439, allocations: 202.1 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.006471, allocations: 35.05 kB / 0.5261 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.006483, allocations: 11.92 kB / 0.5261 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.006496, allocations: 0 / 0.5261 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.006564, allocations: 18.84 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.006568, allocations: 0 / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.006655, allocations: 23.97 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.006668, allocations: 8 kB / 0.5262 GB, free: 12.05 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 8.084e-05/0.006748, allocations: 166.2 kB / 0.5263 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.006761, allocations: 15.94 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.006785, allocations: 15.12 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.006787, allocations: 0 / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.006789, allocations: 0 / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006792, allocations: 4 kB / 0.5264 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.007005, allocations: 314 kB / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007006, allocations: 0 / 0.5267 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.00703, allocations: 11.97 kB / 0.5267 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.007034, allocations: 4.625 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.00704, allocations: 4 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.007042, allocations: 5.156 kB / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007043, allocations: 0 / 0.5267 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.007152, allocations: 223.8 kB / 0.5269 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.00716, allocations: 8.672 kB / 0.5269 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.007174, allocations: 7.938 kB / 0.5269 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.532e-05/0.00721, allocations: 8.484 kB / 0.5269 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.00724, allocations: 8.891 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.007244, allocations: 0 / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.007285, allocations: 136.8 kB / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007285, allocations: 0 / 0.5271 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001647/0.00745, allocations: 20 kB / 0.5271 GB, free: 11.06 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.0001073/0.007557, allocations: 101.7 kB / 0.5272 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.007733, allocations: 156.7 kB / 0.5273 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007734, allocations: 0 / 0.5273 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.007767, allocations: 27.61 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.00795, allocations: 26.77 kB / 0.5274 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.008219, allocations: 170.6 kB / 0.5276 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.00826, allocations: 59.34 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.008285, allocations: 4.938 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.008374, allocations: 98.17 kB / 0.5277 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.008375, allocations: 0 / 0.5277 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.003226/0.0116, allocations: 1.712 MB / 0.5294 GB, free: 8.746 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: 3.705965272616595]