Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.001044/0.001044, allocations: 80.88 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.001189/0.001189, 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.032/1.032, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8374/0.8374, allocations: 154.9 MB / 415.1 MB, free: 260 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.907e-05, allocations: 5.828 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.002636/0.002665, allocations: 0.6962 MB / 481.1 MB, free: 5.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004009, allocations: 1.249 MB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.004052, allocations: 1.766 kB / 482.3 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.004079, allocations: 3.938 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.004157, allocations: 16.39 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.004611, allocations: 217.6 kB / 482.6 MB, free: 4.375 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.00479, allocations: 170.8 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.004867, allocations: 8.625 kB / 482.8 MB, free: 4.215 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.004983, allocations: 93.56 kB / 482.8 MB, free: 4.125 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.005088, allocations: 54.97 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.005114, allocations: 16 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.609e-05/0.00519, allocations: 27.98 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.005206, allocations: 4 kB / 482.9 MB, free: 4.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.00526, allocations: 61.19 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.005416, allocations: 127.7 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005418, allocations: 0 / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.005419, allocations: 0 / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.005423, allocations: 0.6562 kB / 483.1 MB, free: 3.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003576/0.005781, allocations: 336.5 kB / 483.5 MB, free: 3.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.353e-05/0.005855, allocations: 8.031 kB / 483.5 MB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.005904, allocations: 12.92 kB / 483.5 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.006007, allocations: 117.7 kB / 483.6 MB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.006025, allocations: 11.78 kB / 483.6 MB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.006046, allocations: 12.38 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.082e-05/0.006117, allocations: 47.58 kB / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.006124, allocations: 192 / 483.7 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.006133, allocations: 12.31 kB / 483.7 MB, free: 3.238 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006138, allocations: 384 / 483.7 MB, free: 3.238 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.458e-05/0.006153, allocations: 11.92 kB / 483.7 MB, free: 3.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.006408, allocations: 168.3 kB / 483.9 MB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.895e-05/0.006467, allocations: 31.45 kB / 483.9 MB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.754e-05/0.006485, allocations: 12.8 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.006491, allocations: 0.875 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.00661, allocations: 79.47 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.006612, allocations: 0.9062 kB / 484 MB, free: 2.902 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001655/0.006777, allocations: 78.47 kB / 484.1 MB, free: 2.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.006813, allocations: 52.03 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.0069, allocations: 126.6 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.006926, allocations: 30.33 kB / 484.3 MB, free: 2.586 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.006976, allocations: 92.12 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.006994, allocations: 16.52 kB / 484.4 MB, free: 2.477 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.00708, allocations: 46.3 kB / 484.4 MB, free: 2.426 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.007181, allocations: 314.8 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.007293, allocations: 100 kB / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.007411, allocations: 134.7 kB / 484.9 MB, free: 1.844 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.007546, allocations: 145.5 kB / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.007548, allocations: 0 / 485.1 MB, free: 1.676 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002228/0.007771, allocations: 262 kB / 485.3 MB, free: 1.391 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.007824, allocations: 67.39 kB / 485.4 MB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.00783, allocations: 4.781 kB / 485.4 MB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.007843, allocations: 0 / 485.4 MB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.97e-05/0.007862, allocations: 4 kB / 485.4 MB, free: 1.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.007868, allocations: 8.859 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.008083, allocations: 37.33 kB / 485.5 MB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.008112, allocations: 15.98 kB / 485.5 MB, free: 1.246 MB / 442.7 MB 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,or1.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 8.712e-05/0.008199, allocations: 114.4 kB / 485.6 MB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.008217, allocations: 13.48 kB / 485.6 MB, free: 1.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.008244, allocations: 12.31 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.008246, allocations: 0 / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.008247, allocations: 0 / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.008252, allocations: 6.844 kB / 485.6 MB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.008348, allocations: 77.81 kB / 485.7 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.00835, allocations: 3.938 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.008361, allocations: 4 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.008363, allocations: 4 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.008369, allocations: 0.75 kB / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.008372, allocations: 64 / 485.7 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.008376, allocations: 8.781 kB / 485.7 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.008488, allocations: 85.39 kB / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.008502, allocations: 13.09 kB / 485.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.008515, allocations: 0 / 485.8 MB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.008543, allocations: 4 kB / 485.8 MB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.00858, allocations: 18.72 kB / 485.8 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.008586, allocations: 0.875 kB / 485.8 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.433e-05/0.00861, allocations: 12.86 kB / 485.9 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00861, allocations: 1.406 kB / 485.9 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.008833, allocations: 31.98 kB / 485.9 MB, free: 0.8047 MB / 442.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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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 0.0001341/0.008967, allocations: 81.17 kB / 486 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.009226, allocations: 259.4 kB / 486.2 MB, free: 436 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.00923, allocations: 0.5938 kB / 486.2 MB, free: 436 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.009262, allocations: 22 kB / 486.2 MB, free: 412 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.009409, allocations: 13.67 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.009707, allocations: 153.8 kB / 486.4 MB, free: 216 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.009742, allocations: 60.77 kB / 486.5 MB, free: 136 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.009775, allocations: 11 kB / 486.5 MB, free: 128 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.00991, allocations: 75.3 kB / 486.5 MB, free: 52 kB / 442.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009911, allocations: 0.6875 kB / 486.5 MB, free: 52 kB / 442.7 MB Notification: Performance of Templates: time 0.005124/0.01504, allocations: 2.206 MB / 488.8 MB, free: 14 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.715352314990014]