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.001045/0.001045, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001002/0.001002, allocations: 177 kB / 23.36 MB, free: 1.137 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.945/0.945, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.872/0.872, allocations: 154.9 MB / 415.1 MB, free: 240 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 3.407e-06/3.407e-06, allocations: 3.938 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.213e-05, allocations: 9.484 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001395/0.001427, allocations: 0.6399 MB / 481 MB, free: 5.898 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.002859, allocations: 1.247 MB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.579e-05/0.002904, allocations: 4 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.002934, allocations: 3.938 kB / 482.3 MB, free: 4.641 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.258e-05/0.003026, allocations: 16.06 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.003536, allocations: 210.2 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.003744, allocations: 178.4 kB / 482.7 MB, free: 4.266 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.003824, allocations: 8 kB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.003944, allocations: 92.42 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.00405, allocations: 58.14 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.004075, allocations: 16 kB / 482.8 MB, free: 4.102 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.004139, allocations: 27.92 kB / 482.9 MB, free: 4.074 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.004159, allocations: 11.94 kB / 482.9 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.004208, allocations: 51.94 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.004368, allocations: 135.6 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.00437, allocations: 1.156 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.004371, allocations: 0 / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.004375, allocations: 0 / 483.1 MB, free: 3.879 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.0003314/0.004706, allocations: 327.8 kB / 483.4 MB, free: 3.523 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.004737, allocations: 13.75 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.004772, allocations: 12.92 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.346e-05/0.004845, allocations: 113.7 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.004857, allocations: 4.375 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.004876, allocations: 12.38 kB / 483.5 MB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.915e-05/0.004935, allocations: 47.05 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.004941, allocations: 192 / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-06/0.004947, allocations: 1.219 kB / 483.6 MB, free: 3.297 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.004954, allocations: 4.375 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.004969, allocations: 16.92 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.00519, allocations: 176.3 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.136e-05/0.005241, allocations: 35.02 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.005256, allocations: 10.17 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.571e-06/0.005261, allocations: 3.938 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.562e-05/0.005337, allocations: 75.41 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005338, allocations: 0.6562 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001179/0.005456, allocations: 81.53 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.005487, allocations: 52.62 kB / 484 MB, free: 2.797 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.005547, allocations: 118.7 kB / 484.1 MB, free: 2.668 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.005567, allocations: 33.7 kB / 484.2 MB, free: 2.629 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.005601, allocations: 88.97 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.005612, allocations: 15.89 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.005663, allocations: 50.83 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.005728, allocations: 314.8 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.005793, allocations: 91.38 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.005873, allocations: 139.3 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.167e-05/0.005965, allocations: 149.9 kB / 485 MB, free: 1.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.005966, allocations: 0 / 485 MB, free: 1.719 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001703/0.006137, allocations: 253.6 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.006169, allocations: 67.39 kB / 485.3 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.006176, allocations: 9.281 kB / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.006192, allocations: 0 / 485.3 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.684e-05/0.006209, allocations: 9.078 kB / 485.3 MB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.006213, allocations: 3.984 kB / 485.3 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.006347, allocations: 45.42 kB / 485.4 MB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.006363, allocations: 7.984 kB / 485.4 MB, free: 1.293 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 6.131e-05/0.006425, allocations: 125.7 kB / 485.5 MB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.138e-06/0.006434, allocations: 7.984 kB / 485.5 MB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.006453, allocations: 17 kB / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.006454, allocations: 0.625 kB / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006456, allocations: 0 / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.006459, allocations: 0.625 kB / 485.5 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.524e-05/0.006514, allocations: 73.88 kB / 485.6 MB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006515, allocations: 4.625 kB / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.006519, allocations: 0.625 kB / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.00652, allocations: 0 / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-06/0.006524, allocations: 0.625 kB / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006525, allocations: 0 / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.006527, allocations: 8.594 kB / 485.6 MB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.035e-05/0.006588, allocations: 90.72 kB / 485.7 MB, free: 0.9336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006596, allocations: 15.88 kB / 485.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-06/0.006604, allocations: 0 / 485.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-06/0.006613, allocations: 1.781 kB / 485.7 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.006638, allocations: 15.92 kB / 485.7 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.006641, allocations: 0 / 485.7 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.14e-05/0.006652, allocations: 13.33 kB / 485.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006652, allocations: 0.5312 kB / 485.8 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001187/0.006771, allocations: 31.98 kB / 485.8 MB, free: 0.8555 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 9.586e-05/0.006867, allocations: 82.52 kB / 485.9 MB, free: 0.7695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.007043, allocations: 259 kB / 486.1 MB, free: 488 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.007045, allocations: 5.719 kB / 486.1 MB, free: 484 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.217e-05/0.007067, allocations: 24.78 kB / 486.2 MB, free: 456 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.00717, allocations: 17.08 kB / 486.2 MB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.007365, allocations: 149.8 kB / 486.3 MB, free: 260 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.00739, allocations: 55.98 kB / 486.4 MB, free: 184 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.857e-05/0.007409, allocations: 10.72 kB / 486.4 MB, free: 176 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.417e-05/0.007493, allocations: 75.36 kB / 486.5 MB, free: 100 kB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.007494, allocations: 0 / 486.5 MB, free: 100 kB / 442.7 MB Notification: Performance of Templates: time 0.003118/0.01061, allocations: 2.207 MB / 488.7 MB, free: 14.04 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7236193399876356]