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.001103/0.001103, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001197/0.001197, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.119/1.119, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.7999/0.7999, allocations: 154.9 MB / 415.9 MB, free: 276 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.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 2.554e-06/2.554e-06, allocations: 0 / 0.5219 GB, free: 1.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/3.604e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002538/0.002574, allocations: 0.6788 MB / 0.5226 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.004571, allocations: 1.316 MB / 0.5239 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.004643, allocations: 4 kB / 0.5239 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.225e-05/0.004686, allocations: 7.875 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.004798, allocations: 20.34 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.005699, allocations: 305.2 kB / 0.5242 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.006082, allocations: 252.2 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.006189, allocations: 13.48 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.006426, allocations: 139.8 kB / 0.5246 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.006605, allocations: 75.8 kB / 0.5246 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.119e-05/0.006656, allocations: 24.62 kB / 0.5247 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.884e-05/0.006745, allocations: 39.92 kB / 0.5247 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.006775, allocations: 13.52 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.53e-05/0.00687, allocations: 75.86 kB / 0.5248 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.007171, allocations: 195.5 kB / 0.525 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007174, allocations: 0 / 0.525 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.007176, allocations: 0.5938 kB / 0.525 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.007182, allocations: 1.406 kB / 0.525 GB, free: 14.41 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.0006445/0.007826, allocations: 0.5092 MB / 0.5255 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.007874, allocations: 12.03 kB / 0.5255 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.007951, allocations: 20.89 kB / 0.5255 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.008068, allocations: 119.1 kB / 0.5256 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.008097, allocations: 8.375 kB / 0.5256 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.008135, allocations: 17.36 kB / 0.5256 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.008271, allocations: 66.88 kB / 0.5257 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.008279, allocations: 192 / 0.5257 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.008289, allocations: 1.438 kB / 0.5257 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.008297, allocations: 4.125 kB / 0.5257 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.008328, allocations: 11.98 kB / 0.5257 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.008799, allocations: 354.8 kB / 0.5261 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.464e-05/0.008864, allocations: 34.98 kB / 0.5261 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.008887, allocations: 11.69 kB / 0.5261 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.008896, allocations: 4 kB / 0.5261 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.009041, allocations: 101 kB / 0.5262 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.933e-06/0.009043, allocations: 1.594 kB / 0.5262 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002706/0.009313, allocations: 121.5 kB / 0.5263 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.009359, allocations: 55.34 kB / 0.5264 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.00949, allocations: 201.8 kB / 0.5266 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.009524, allocations: 34.67 kB / 0.5266 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.009607, allocations: 150.8 kB / 0.5267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.009633, allocations: 23.88 kB / 0.5268 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.009757, allocations: 72.47 kB / 0.5268 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.009913, allocations: 0.4923 MB / 0.5273 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.01008, allocations: 153 kB / 0.5275 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.01029, allocations: 215.4 kB / 0.5277 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/0.01052, allocations: 237.3 kB / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01052, allocations: 0 / 0.5279 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005588/0.01108, allocations: 431.7 kB / 0.5283 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.238e-05/0.01116, allocations: 101.7 kB / 0.5284 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01117, allocations: 4 kB / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01118, allocations: 2.75 kB / 0.5284 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.648e-05/0.01121, allocations: 11.94 kB / 0.5284 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01121, allocations: 4 kB / 0.5284 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.01151, allocations: 59.83 kB / 0.5285 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.01156, allocations: 26.92 kB / 0.5285 GB, free: 10.43 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 0.000123/0.01168, allocations: 164.6 kB / 0.5287 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.01171, allocations: 15.89 kB / 0.5287 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/0.01174, allocations: 12.42 kB / 0.5287 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01174, allocations: 4 kB / 0.5287 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.01174, allocations: 3.938 kB / 0.5287 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.01175, allocations: 5.484 kB / 0.5287 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.01188, allocations: 121.2 kB / 0.5288 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01188, allocations: 0 / 0.5288 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.0119, allocations: 4 kB / 0.5288 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.0119, allocations: 7.266 kB / 0.5288 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01191, allocations: 4 kB / 0.5288 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01191, allocations: 3.938 kB / 0.5288 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.01192, allocations: 0 / 0.5288 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.01211, allocations: 140.3 kB / 0.529 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.01213, allocations: 7.953 kB / 0.529 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.01214, allocations: 0 / 0.529 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.01217, allocations: 11.94 kB / 0.529 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.0122, allocations: 3.984 kB / 0.529 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01221, allocations: 6.438 kB / 0.529 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.325e-05/0.01228, allocations: 145.2 kB / 0.5291 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01228, allocations: 0 / 0.5291 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002984/0.01257, allocations: 40 kB / 0.5292 GB, free: 9.688 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.0001467/0.01272, allocations: 108.2 kB / 0.5293 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004291/0.01315, allocations: 395.8 kB / 0.5297 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01315, allocations: 0 / 0.5297 GB, free: 9.129 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.105e-05/0.0132, allocations: 35.61 kB / 0.5297 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01348, allocations: 27.27 kB / 0.5297 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.01385, allocations: 186.8 kB / 0.5299 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.01389, allocations: 59.34 kB / 0.5299 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.01393, allocations: 10.94 kB / 0.53 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.01414, allocations: 122.1 kB / 0.5301 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.01414, allocations: 0 / 0.5301 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of Templates: time 0.006906/0.02104, allocations: 3.227 MB / 0.5332 GB, free: 5.59 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.976105434820056]