Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.001037/0.001037, allocations: 80.94 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.0009843/0.0009843, allocations: 177 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.007/1.007, 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.895/0.895, allocations: 154.9 MB / 415.1 MB, free: 232 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0.9844 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.297e-05, allocations: 4.281 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.002621/0.002654, allocations: 0.6853 MB / 481.1 MB, free: 5.875 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.004422, allocations: 1.25 MB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.004475, allocations: 0 / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.004512, allocations: 4.812 kB / 482.4 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.66e-05/0.004608, allocations: 12.36 kB / 482.4 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.005096, allocations: 210.2 kB / 482.6 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.005283, allocations: 170.5 kB / 482.7 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.00536, allocations: 15.97 kB / 482.8 MB, free: 4.238 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.005473, allocations: 95 kB / 482.8 MB, free: 4.148 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.005583, allocations: 57.2 kB / 482.9 MB, free: 4.094 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.005606, allocations: 12 kB / 482.9 MB, free: 4.082 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.005684, allocations: 36.98 kB / 483 MB, free: 4.047 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.005832, allocations: 7.984 kB / 483 MB, free: 4.039 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.005882, allocations: 51.89 kB / 483 MB, free: 3.988 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.006034, allocations: 140.6 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.006038, allocations: 0 / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006039, allocations: 0 / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.006043, allocations: 0.5 kB / 483.1 MB, free: 3.852 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.0003505/0.006393, allocations: 324.8 kB / 483.5 MB, free: 3.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.00643, allocations: 12.02 kB / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.006473, allocations: 16.92 kB / 483.5 MB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.716e-05/0.006561, allocations: 115.2 kB / 483.6 MB, free: 3.336 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.006577, allocations: 9.156 kB / 483.6 MB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.006595, allocations: 8.375 kB / 483.6 MB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.884e-05/0.006664, allocations: 43.67 kB / 483.7 MB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.006671, allocations: 4.125 kB / 483.7 MB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.006678, allocations: 4.375 kB / 483.7 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.006683, allocations: 384 / 483.7 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.41e-05/0.006697, allocations: 8.781 kB / 483.7 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.006962, allocations: 188.1 kB / 483.9 MB, free: 3.059 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.032e-05/0.007012, allocations: 23.7 kB / 483.9 MB, free: 3.027 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.007027, allocations: 12.94 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.007032, allocations: 2.141 kB / 483.9 MB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.907e-05/0.007121, allocations: 75.38 kB / 484 MB, free: 2.926 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.007123, allocations: 8.812 kB / 484 MB, free: 2.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001267/0.007249, allocations: 69.59 kB / 484.1 MB, free: 2.844 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.007278, allocations: 56.47 kB / 484.1 MB, free: 2.777 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/0.007342, allocations: 118.7 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.007365, allocations: 33.7 kB / 484.3 MB, free: 2.609 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.633e-05/0.007401, allocations: 92.73 kB / 484.3 MB, free: 2.516 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.007418, allocations: 12.53 kB / 484.4 MB, free: 2.504 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.007475, allocations: 45.67 kB / 484.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.807e-05/0.007543, allocations: 323.4 kB / 484.7 MB, free: 2.129 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.007618, allocations: 91.38 kB / 484.8 MB, free: 2.027 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.007703, allocations: 136.2 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.007804, allocations: 145.5 kB / 485.1 MB, free: 1.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007806, allocations: 0 / 485.1 MB, free: 1.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001975/0.008003, allocations: 257.7 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.008043, allocations: 67.39 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.008049, allocations: 4.969 kB / 485.4 MB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.008062, allocations: 4 kB / 485.4 MB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.816e-05/0.00808, allocations: 4 kB / 485.4 MB, free: 1.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.008085, allocations: 4.469 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.008238, allocations: 45.69 kB / 485.5 MB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.008255, allocations: 8 kB / 485.5 MB, free: 1.273 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,and1.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.791e-05/0.008323, allocations: 127.8 kB / 485.6 MB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.008333, allocations: 4 kB / 485.6 MB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.008359, allocations: 16.38 kB / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.008361, allocations: 0 / 485.6 MB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.008364, allocations: 3.984 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008367, allocations: 1.625 kB / 485.6 MB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.147e-05/0.008439, allocations: 79.3 kB / 485.7 MB, free: 1.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.008441, allocations: 3.984 kB / 485.7 MB, free: 1.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.008447, allocations: 4 kB / 485.7 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008449, allocations: 0.6875 kB / 485.7 MB, free: 1.016 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.008454, allocations: 4 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.008455, allocations: 1.219 kB / 485.7 MB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.008458, allocations: 7.938 kB / 485.7 MB, free: 1.004 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/0.008537, allocations: 81.34 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.008545, allocations: 8.703 kB / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.008554, allocations: 0 / 485.8 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.008568, allocations: 5.703 kB / 485.8 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.008598, allocations: 11.94 kB / 485.8 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.008604, allocations: 3.984 kB / 485.8 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.658e-05/0.008621, allocations: 16.84 kB / 485.8 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008621, allocations: 0 / 485.8 MB, free: 0.8594 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.008762, allocations: 33.12 kB / 485.9 MB, free: 0.8281 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,and1.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.000124/0.008886, allocations: 81.41 kB / 486 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.009093, allocations: 255 kB / 486.2 MB, free: 464 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.009097, allocations: 0.7812 kB / 486.2 MB, free: 464 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.009123, allocations: 28.78 kB / 486.2 MB, free: 432 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.009251, allocations: 14.08 kB / 486.3 MB, free: 420 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/0.009778, allocations: 146.4 kB / 486.4 MB, free: 244 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.996e-05/0.009808, allocations: 59.94 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.335e-05/0.009832, allocations: 8.453 kB / 486.5 MB, free: 160 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.009933, allocations: 83.33 kB / 486.5 MB, free: 76 kB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009934, allocations: 4 kB / 486.5 MB, free: 72 kB / 442.7 MB Notification: Performance of Templates: time 0.003877/0.01381, allocations: 2.212 MB / 488.8 MB, free: 14.01 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7135434169322252]