Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.0009754/0.0009754, 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.000999/0.000999, allocations: 165 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 0.9697/0.9697, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8246/0.8246, allocations: 154.8 MB / 414.7 MB, free: 0.5 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.809e-05, allocations: 5.25 kB / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001518/0.001546, allocations: 0.6893 MB / 0.5212 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.002997, allocations: 1.32 MB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.829e-05/0.003056, allocations: 3.531 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.003094, allocations: 7.922 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.003178, allocations: 23.8 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.003861, allocations: 295.2 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.004125, allocations: 260.7 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.004227, allocations: 16.16 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.004389, allocations: 132.9 kB / 0.5232 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.004521, allocations: 75.81 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.004557, allocations: 25.47 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.466e-05/0.004632, allocations: 31.98 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.004657, allocations: 19.91 kB / 0.5234 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.004739, allocations: 71.94 kB / 0.5235 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.004962, allocations: 192.2 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004965, allocations: 3.938 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004966, allocations: 0.875 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.004971, allocations: 0 / 0.5236 GB, free: 14.82 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.0005188/0.00549, allocations: 0.5147 MB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.005531, allocations: 12.03 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.005602, allocations: 20.88 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.005711, allocations: 116.5 kB / 0.5243 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.005741, allocations: 12.38 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.005778, allocations: 16.98 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.005902, allocations: 71.97 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.005915, allocations: 192 / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005926, allocations: 384 / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.005935, allocations: 9.469 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.005974, allocations: 19.91 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.006417, allocations: 363.6 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.358e-05/0.006471, allocations: 39.05 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.006496, allocations: 16.55 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.006503, allocations: 0 / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.006623, allocations: 102.2 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.006624, allocations: 0 / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002413/0.006866, allocations: 129.5 kB / 0.525 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.006905, allocations: 57.98 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.00702, allocations: 199.1 kB / 0.5253 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.007049, allocations: 29.7 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.007116, allocations: 150.8 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.007136, allocations: 23.95 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.007218, allocations: 71.33 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.00735, allocations: 0.4945 MB / 0.526 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.007519, allocations: 169 kB / 0.5262 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.007688, allocations: 226.9 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.007882, allocations: 241.6 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007884, allocations: 0 / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004738/0.008358, allocations: 467.4 kB / 0.5271 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.008416, allocations: 98.48 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.008424, allocations: 4 kB / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.008441, allocations: 0 / 0.5272 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.198e-05/0.008463, allocations: 8 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.008472, allocations: 8.875 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.008697, allocations: 65.41 kB / 0.5273 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.008726, allocations: 15.98 kB / 0.5273 GB, free: 10.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.979e-05/0.008825, allocations: 170.4 kB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.008845, allocations: 23.88 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.00888, allocations: 8.438 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.008884, allocations: 4.625 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.008889, allocations: 0 / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008892, allocations: 0.6562 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.539e-05/0.008988, allocations: 140.5 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.00899, allocations: 0.9375 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-06/0.008998, allocations: 7.938 kB / 0.5276 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009, allocations: 6.562 kB / 0.5276 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.00901, allocations: 3.984 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.009012, allocations: 4 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.009013, allocations: 0 / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.00916, allocations: 140.3 kB / 0.5278 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.00917, allocations: 11.94 kB / 0.5278 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.009183, allocations: 3.938 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.009198, allocations: 7.125 kB / 0.5278 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.009233, allocations: 7.984 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.00924, allocations: 4 kB / 0.5278 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.009293, allocations: 141.1 kB / 0.5279 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009293, allocations: 0 / 0.5279 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001909/0.009484, allocations: 47.98 kB / 0.528 GB, free: 9.945 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001309/0.009614, allocations: 104.4 kB / 0.5281 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.009981, allocations: 412.5 kB / 0.5285 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009983, allocations: 0 / 0.5285 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.01003, allocations: 32.95 kB / 0.5285 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.01025, allocations: 27.86 kB / 0.5285 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.01066, allocations: 194.7 kB / 0.5287 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.01071, allocations: 59.34 kB / 0.5288 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.01075, allocations: 9.156 kB / 0.5288 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.01078, allocations: 13.16 kB / 0.5288 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/0.01078, allocations: 0.5312 kB / 0.5288 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of Templates: time 0.005308/0.01609, allocations: 2.918 MB / 0.5316 GB, free: 6.242 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8845153599977493]