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.002202/0.002202, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002569/0.002569, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 178] 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 1.386/1.386, allocations: 154.8 MB / 414.4 MB, free: 396 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 178] 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 3.256e-06/3.256e-06, allocations: 0 / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.022e-05/4.347e-05, allocations: 5.578 kB / 0.5199 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001997/0.00204, allocations: 0.6484 MB / 0.5205 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.003882, allocations: 1.215 MB / 0.5217 GB, free: 360 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.003942, allocations: 4 kB / 0.5217 GB, free: 356 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.003973, allocations: 5.75 kB / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.004066, allocations: 7.922 kB / 0.5217 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.00471, allocations: 209.1 kB / 0.5219 GB, free: 136 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.005007, allocations: 179.6 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.095e-05/0.005098, allocations: 8 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.005261, allocations: 92.67 kB / 0.5222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.005399, allocations: 51.84 kB / 0.5222 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.005445, allocations: 17.41 kB / 0.5222 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-05/0.00553, allocations: 23.98 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.005555, allocations: 8 kB / 0.5223 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.559e-05/0.00565, allocations: 53.22 kB / 0.5223 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.00595, allocations: 183.6 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.005956, allocations: 4 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005957, allocations: 0 / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.005963, allocations: 1.281 kB / 0.5225 GB, free: 15.53 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006823/0.006645, allocations: 467.4 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.006688, allocations: 12.03 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.006777, allocations: 19.55 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.00691, allocations: 108.6 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.006935, allocations: 8.359 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.006968, allocations: 12.38 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.007096, allocations: 46.25 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007106, allocations: 192 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.007117, allocations: 384 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.007121, allocations: 384 / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.00717, allocations: 20.42 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.00775, allocations: 332.2 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.007851, allocations: 44.03 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.007888, allocations: 15.77 kB / 0.5235 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.007906, allocations: 9.609 kB / 0.5235 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.008068, allocations: 88.91 kB / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.008069, allocations: 0 / 0.5236 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002975/0.008366, allocations: 109.6 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.008422, allocations: 60.33 kB / 0.5238 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.008587, allocations: 185.9 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.008632, allocations: 29.7 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.008741, allocations: 140.2 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.008764, allocations: 19.89 kB / 0.5241 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.008878, allocations: 59.34 kB / 0.5242 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005676/0.009446, allocations: 0.4922 MB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.009669, allocations: 136.5 kB / 0.5248 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.009915, allocations: 181.8 kB / 0.525 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.01017, allocations: 183.7 kB / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01017, allocations: 0 / 0.5252 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005881/0.01076, allocations: 367.9 kB / 0.5255 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.01083, allocations: 68.02 kB / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01084, allocations: 0 / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.01086, allocations: 4 kB / 0.5256 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.443e-05/0.01089, allocations: 15.98 kB / 0.5256 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.0109, allocations: 4 kB / 0.5256 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.01119, allocations: 34.75 kB / 0.5256 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.01123, allocations: 15.92 kB / 0.5257 GB, free: 11.98 MB / 0.4948 GB 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 0.00015/0.01138, allocations: 164.6 kB / 0.5258 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.0114, allocations: 19.89 kB / 0.5258 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.01143, allocations: 8.422 kB / 0.5258 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01143, allocations: 1.406 kB / 0.5258 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01144, allocations: 0 / 0.5258 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.01144, allocations: 4 kB / 0.5258 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.01161, allocations: 128.6 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01161, allocations: 4.5 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-05/0.01162, allocations: 4 kB / 0.526 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01162, allocations: 6.031 kB / 0.526 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.01163, allocations: 7.922 kB / 0.526 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01164, allocations: 4 kB / 0.526 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01164, allocations: 0 / 0.526 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.01183, allocations: 120.7 kB / 0.5261 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-06/0.01184, allocations: 2.438 kB / 0.5261 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.01186, allocations: 11.94 kB / 0.5261 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.01188, allocations: 0 / 0.5261 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.01193, allocations: 7.984 kB / 0.5261 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.01194, allocations: 0 / 0.5261 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.771e-05/0.01204, allocations: 143.1 kB / 0.5263 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01204, allocations: 4 kB / 0.5263 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002319/0.01227, allocations: 30.11 kB / 0.5263 GB, free: 11.26 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: 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.0001953/0.01246, allocations: 107.2 kB / 0.5264 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004815/0.01294, allocations: 330.8 kB / 0.5267 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01295, allocations: 0 / 0.5267 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-05/0.01301, allocations: 39.73 kB / 0.5267 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.01325, allocations: 20.64 kB / 0.5268 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004106/0.01366, allocations: 162.8 kB / 0.5269 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.388e-05/0.01374, allocations: 73.77 kB / 0.527 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.01376, allocations: 4 kB / 0.527 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.01379, allocations: 12.5 kB / 0.527 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of SimCode: time 4.21e-07/0.01379, allocations: 3.938 kB / 0.527 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.005757/0.01955, allocations: 2.035 MB / 0.529 GB, free: 8.504 MB / 0.4948 GB " [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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0540049721021205]