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.001006/0.001006, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001101/0.001101, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.794/0.794, allocations: 154.9 MB / 415.1 MB, free: 192 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 1.092e-06/1.092e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.968e-06/1.106e-05, allocations: 5.391 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001179/0.00119, allocations: 0.7291 MB / 481.1 MB, free: 5.793 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.002338, allocations: 1.326 MB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.00237, allocations: 0 / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.002391, allocations: 3.938 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.288e-05/0.002454, allocations: 23.61 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.002959, allocations: 303 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.003186, allocations: 265.4 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.205e-05/0.003248, allocations: 12.17 kB / 483.1 MB, free: 3.891 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.003369, allocations: 139.8 kB / 483.2 MB, free: 3.754 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.003473, allocations: 84.41 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.0035, allocations: 20.62 kB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.175e-05/0.003562, allocations: 36 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.00358, allocations: 17.11 kB / 483.4 MB, free: 3.602 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.003635, allocations: 75.86 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.003799, allocations: 199.5 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.262e-06/0.0038, allocations: 1.125 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003801, allocations: 0 / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.083e-06/0.003803, allocations: 0 / 483.6 MB, free: 3.332 MB / 442.7 MB 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.0003539/0.004157, allocations: 390 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.654e-05/0.004183, allocations: 8.031 kB / 484 MB, free: 2.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.004223, allocations: 16.92 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.219e-05/0.004295, allocations: 120.4 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.004313, allocations: 16.36 kB / 484.2 MB, free: 2.734 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.004333, allocations: 12.38 kB / 484.2 MB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.627e-05/0.0044, allocations: 64.17 kB / 484.2 MB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.341e-06/0.004406, allocations: 192 / 484.2 MB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.004412, allocations: 384 / 484.2 MB, free: 2.652 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.004417, allocations: 8.125 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.004436, allocations: 16.89 kB / 484.3 MB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.004685, allocations: 196.3 kB / 484.5 MB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.958e-05/0.004715, allocations: 28 kB / 484.5 MB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.004736, allocations: 16.94 kB / 484.5 MB, free: 2.367 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.004741, allocations: 3.938 kB / 484.5 MB, free: 2.363 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.301e-05/0.004824, allocations: 88.19 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.004826, allocations: 1.219 kB / 484.6 MB, free: 2.266 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001242/0.00495, allocations: 98.67 kB / 484.7 MB, free: 2.164 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.004973, allocations: 51.41 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.323e-05/0.005036, allocations: 144.9 kB / 484.9 MB, free: 1.949 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.005059, allocations: 34.48 kB / 484.9 MB, free: 1.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.005097, allocations: 92.12 kB / 485 MB, free: 1.816 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.005113, allocations: 28.7 kB / 485 MB, free: 1.789 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.005182, allocations: 61.66 kB / 485.1 MB, free: 1.723 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.005248, allocations: 322.8 kB / 485.4 MB, free: 1.398 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.005343, allocations: 146.1 kB / 485.5 MB, free: 1.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.005449, allocations: 191 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.00558, allocations: 208.8 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005582, allocations: 0.625 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005423/0.006124, allocations: 373.5 kB / 486.3 MB, free: 372 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.006171, allocations: 101 kB / 486.4 MB, free: 252 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006175, allocations: 0.5312 kB / 486.4 MB, free: 252 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.00619, allocations: 4 kB / 486.4 MB, free: 248 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.006206, allocations: 5.562 kB / 486.4 MB, free: 244 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.00621, allocations: 4.062 kB / 486.4 MB, free: 240 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.006398, allocations: 68.62 kB / 486.5 MB, free: 172 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.006421, allocations: 16.56 kB / 486.5 MB, free: 156 kB / 442.7 MB 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 7.004e-05/0.006491, allocations: 135.7 kB / 486.6 MB, free: 12 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.006502, allocations: 4 kB / 486.6 MB, free: 8 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.006537, allocations: 20.36 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.006539, allocations: 0 / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00654, allocations: 2.344 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006544, allocations: 0 / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.499e-05/0.006609, allocations: 81.88 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.006611, allocations: 1.359 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.006617, allocations: 0 / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006619, allocations: 4 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006625, allocations: 13.61 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006626, allocations: 0 / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.006627, allocations: 3.938 kB / 486.8 MB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.057e-05/0.006698, allocations: 85.11 kB / 486.8 MB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.006707, allocations: 11.94 kB / 486.9 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.006715, allocations: 1.75 kB / 486.9 MB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.00673, allocations: 12 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.006751, allocations: 11.86 kB / 486.9 MB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006755, allocations: 4 kB / 486.9 MB, free: 15.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.757e-05/0.006773, allocations: 24.83 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006773, allocations: 4.75 kB / 486.9 MB, free: 15.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.006914, allocations: 39.94 kB / 486.9 MB, free: 15.66 MB / 458.7 MB 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 8.437e-05/0.006998, allocations: 88.19 kB / 487 MB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.007228, allocations: 389.7 kB / 487.4 MB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.007233, allocations: 5.125 kB / 487.4 MB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.007259, allocations: 28.84 kB / 487.4 MB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.007372, allocations: 25.86 kB / 487.5 MB, free: 15.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002211/0.007594, allocations: 183.2 kB / 487.7 MB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.007623, allocations: 63.34 kB / 487.7 MB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.094e-05/0.007644, allocations: 4.5 kB / 487.7 MB, free: 14.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.007766, allocations: 96.08 kB / 487.8 MB, free: 14.69 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.007766, allocations: 0 / 487.8 MB, free: 14.69 MB / 458.7 MB Notification: Performance of Templates: time 0.004262/0.01203, allocations: 3.142 MB / 491 MB, free: 11.77 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6463764808140695]