Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.000893/0.000893, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009051/0.0009051, allocations: 169 kB / 23.27 MB, free: 1.223 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.9343/0.9343, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7895/0.7895, allocations: 154.9 MB / 415.1 MB, free: 252 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 3.938 kB / 0.5211 GB, free: 1.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/2.063e-05, allocations: 5.594 kB / 0.5211 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001256/0.001277, allocations: 0.6319 MB / 0.5218 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.002507, allocations: 1.238 MB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.00255, allocations: 0 / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.002574, allocations: 4.688 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.002652, allocations: 16.77 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.00311, allocations: 208.9 kB / 0.5232 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.00017/0.00328, allocations: 176.5 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.003361, allocations: 7.984 kB / 0.5234 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.003479, allocations: 96.64 kB / 0.5235 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.003581, allocations: 47.92 kB / 0.5235 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.003609, allocations: 16 kB / 0.5235 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.003685, allocations: 31.05 kB / 0.5235 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.01e-05/0.003715, allocations: 11.98 kB / 0.5236 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.003762, allocations: 43.95 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.003914, allocations: 143.6 kB / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003916, allocations: 0 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003917, allocations: 0 / 0.5237 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003921, allocations: 0 / 0.5237 GB, free: 14.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003701/0.004292, allocations: 459.9 kB / 0.5242 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.004329, allocations: 12.53 kB / 0.5242 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.004369, allocations: 17.69 kB / 0.5242 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.314e-05/0.004442, allocations: 108.6 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004454, allocations: 9.156 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.004472, allocations: 8.375 kB / 0.5243 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.728e-05/0.004539, allocations: 42.23 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.004545, allocations: 5.094 kB / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-06/0.004551, allocations: 384 / 0.5244 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.004556, allocations: 5.344 kB / 0.5244 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.004573, allocations: 15.94 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.004863, allocations: 309 kB / 0.5247 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.599e-05/0.004919, allocations: 38.98 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.69e-05/0.004936, allocations: 24.58 kB / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.004942, allocations: 0 / 0.5247 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.31e-05/0.005025, allocations: 73.62 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.01e-07/0.005026, allocations: 1.031 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001508/0.005177, allocations: 97.55 kB / 0.5249 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.005208, allocations: 59.33 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.005285, allocations: 175.1 kB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.005306, allocations: 33.7 kB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.00536, allocations: 134.9 kB / 0.5253 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.005373, allocations: 20.5 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.005433, allocations: 55.33 kB / 0.5254 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.005546, allocations: 0.49 MB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.00563, allocations: 103.4 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.005721, allocations: 148.7 kB / 0.5261 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.005822, allocations: 159.1 kB / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005824, allocations: 0.9062 kB / 0.5262 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002479/0.006072, allocations: 305.4 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.841e-05/0.006121, allocations: 73.83 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.006127, allocations: 4.812 kB / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.006139, allocations: 0 / 0.5266 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-05/0.006157, allocations: 8.516 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006161, allocations: 0 / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.006308, allocations: 41.38 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.006325, allocations: 12.48 kB / 0.5267 GB, free: 11.56 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.43e-05/0.0064, allocations: 165.4 kB / 0.5268 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.00641, allocations: 11.89 kB / 0.5268 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.006433, allocations: 17.98 kB / 0.5268 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.006437, allocations: 4 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006438, allocations: 0 / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.006441, allocations: 0 / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.856e-05/0.006509, allocations: 110.6 kB / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.00651, allocations: 0 / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-06/0.006514, allocations: 0 / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006516, allocations: 4 kB / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.006521, allocations: 2.75 kB / 0.527 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006521, allocations: 3.938 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.006523, allocations: 4 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.006622, allocations: 120.4 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.006629, allocations: 3.953 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.006639, allocations: 7.984 kB / 0.5271 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.006649, allocations: 3.938 kB / 0.5271 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.006676, allocations: 19.91 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.00668, allocations: 2.281 kB / 0.5271 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.006718, allocations: 127.2 kB / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006718, allocations: 0 / 0.5272 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001427/0.00686, allocations: 31.98 kB / 0.5273 GB, free: 10.88 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 9.171e-05/0.006952, allocations: 99.31 kB / 0.5274 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001907/0.007143, allocations: 271 kB / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.007144, allocations: 0 / 0.5276 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.00717, allocations: 33.88 kB / 0.5277 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.00732, allocations: 11.98 kB / 0.5277 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002475/0.007567, allocations: 166.6 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.87e-05/0.007596, allocations: 60.22 kB / 0.5279 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.698e-05/0.007613, allocations: 4 kB / 0.5279 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.736e-05/0.00771, allocations: 106.8 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.007711, allocations: 3.438 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.003205/0.01092, allocations: 2.21 MB / 0.5302 GB, free: 7.961 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.652319587767124]