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.0007357/0.0007357, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009427/0.001678, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000688/0.000688, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008759/0.001564, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9756/0.9756, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08608/1.062, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8254/0.8254, allocations: 155.4 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3193/1.145, allocations: 49.13 MB / 448.6 MB, free: 5.922 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 1.794e-06/1.794e-06, allocations: 0 / 450 MB, free: 4.609 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.41e-05, allocations: 4 kB / 450 MB, free: 4.605 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001685/0.00171, allocations: 0.6903 MB / 450.6 MB, free: 3.949 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.002984, allocations: 1.245 MB / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.003018, allocations: 0 / 451.9 MB, free: 2.695 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.095e-05/0.003039, allocations: 3.938 kB / 451.9 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.003083, allocations: 9.203 kB / 451.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002471/0.005553, allocations: 210.1 kB / 452.1 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.005769, allocations: 173.1 kB / 452.3 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.77e-05/0.005836, allocations: 8.766 kB / 452.3 MB, free: 2.324 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.005968, allocations: 103.4 kB / 452.4 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.006073, allocations: 49.33 kB / 452.4 MB, free: 2.18 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.006105, allocations: 18.53 kB / 452.5 MB, free: 2.164 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.006191, allocations: 31.98 kB / 452.5 MB, free: 2.133 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.006213, allocations: 5.859 kB / 452.5 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.006264, allocations: 34.3 kB / 452.5 MB, free: 2.098 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.006432, allocations: 98.42 kB / 452.6 MB, free: 2.004 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.006445, allocations: 4.859 kB / 452.6 MB, free: 2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006446, allocations: 0.9844 kB / 452.6 MB, free: 2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.006454, allocations: 0 / 452.6 MB, free: 2 MB / 426.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.0004015/0.006856, allocations: 351.2 kB / 453 MB, free: 1.621 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.006885, allocations: 8.031 kB / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.006926, allocations: 16.92 kB / 453 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.033e-05/0.007007, allocations: 118.3 kB / 453.1 MB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.00702, allocations: 8.359 kB / 453.1 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.007044, allocations: 10.56 kB / 453.1 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.609e-05/0.00711, allocations: 43.23 kB / 453.2 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.007116, allocations: 1.281 kB / 453.2 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.007122, allocations: 384 / 453.2 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.007127, allocations: 384 / 453.2 MB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.00715, allocations: 16.47 kB / 453.2 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.007406, allocations: 181 kB / 453.4 MB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.007461, allocations: 30.64 kB / 453.4 MB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.007476, allocations: 10.08 kB / 453.4 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-06/0.007481, allocations: 1.125 kB / 453.4 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.007823, allocations: 76.16 kB / 453.5 MB, free: 1.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.007824, allocations: 5.062 kB / 453.5 MB, free: 1.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001293/0.007953, allocations: 73.53 kB / 453.6 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.007984, allocations: 60.56 kB / 453.6 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.00805, allocations: 122.6 kB / 453.7 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.008073, allocations: 29.7 kB / 453.8 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.008115, allocations: 89.94 kB / 453.9 MB, free: 0.6406 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.008133, allocations: 20.77 kB / 453.9 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/0.008202, allocations: 41.67 kB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.008277, allocations: 318.8 kB / 454.2 MB, free: 260 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.008364, allocations: 99.38 kB / 454.3 MB, free: 148 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.008473, allocations: 140.7 kB / 454.5 MB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.008589, allocations: 142.5 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.00859, allocations: 4 kB / 454.6 MB, free: 15.81 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002362/0.008827, allocations: 265.5 kB / 454.9 MB, free: 15.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.008877, allocations: 74.64 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.008883, allocations: 3.938 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.008896, allocations: 4 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.008913, allocations: 0 / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.008917, allocations: 4 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.009099, allocations: 43.91 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.009124, allocations: 16.05 kB / 455 MB, free: 15.37 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 7.67e-05/0.0092, allocations: 122.7 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.009213, allocations: 4.875 kB / 455.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.009238, allocations: 16.36 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.009241, allocations: 0.8906 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.009243, allocations: 0.9062 kB / 455.2 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.009246, allocations: 4 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.93e-05/0.009325, allocations: 78.44 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009326, allocations: 0 / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-06/0.009333, allocations: 0.625 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.00934, allocations: 8.578 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.009342, allocations: 0 / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.009346, allocations: 0.625 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.009349, allocations: 8.25 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.00935, allocations: 0.625 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.093e-05/0.009441, allocations: 85.66 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.009453, allocations: 7.984 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.009471, allocations: 1.344 kB / 455.3 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.009495, allocations: 7.938 kB / 455.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.0095, allocations: 5.766 kB / 455.4 MB, free: 14.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.045e-05/0.00952, allocations: 20.84 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00952, allocations: 0 / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.009702, allocations: 28 kB / 455.4 MB, free: 14.93 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.0001155/0.009818, allocations: 81.06 kB / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.01006, allocations: 269.3 kB / 455.7 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.01006, allocations: 4.625 kB / 455.7 MB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.01009, allocations: 22.25 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.01024, allocations: 125.8 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.01065, allocations: 155.5 kB / 456 MB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.01068, allocations: 63.2 kB / 456.1 MB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.182e-05/0.0107, allocations: 6.406 kB / 456.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.01079, allocations: 79.34 kB / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of SimCode: time 7.12e-07/0.01079, allocations: 3.938 kB / 456.2 MB, free: 14.03 MB / 442.7 MB Notification: Performance of Templates: time 0.00343/0.01422, allocations: 2.25 MB / 458.4 MB, free: 11.94 MB / 442.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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5599466180428863]