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.001184/0.001184, allocations: 80.75 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.001356/0.001356, 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 0.9976/0.9976, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8127/0.8127, allocations: 154.9 MB / 415.1 MB, free: 244 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.314e-06/2.314e-06, allocations: 0 / 480.4 MB, free: 6.566 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.251e-05, allocations: 5.312 kB / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001507/0.001529, allocations: 0.6415 MB / 481 MB, free: 5.953 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.002776, allocations: 1.248 MB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.002818, allocations: 1.172 kB / 482.3 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.762e-05/0.002846, allocations: 7.938 kB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.002926, allocations: 13.92 kB / 482.3 MB, free: 4.684 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.003432, allocations: 205.8 kB / 482.5 MB, free: 4.484 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.003631, allocations: 177.8 kB / 482.7 MB, free: 4.324 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.511e-05/0.003706, allocations: 8 kB / 482.7 MB, free: 4.316 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.003821, allocations: 94.55 kB / 482.8 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.816e-05/0.00392, allocations: 54.39 kB / 482.8 MB, free: 4.176 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.003946, allocations: 16 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.33e-05/0.004009, allocations: 29.31 kB / 482.9 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.004034, allocations: 19.91 kB / 482.9 MB, free: 4.113 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.00408, allocations: 45.22 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004237, allocations: 139.6 kB / 483.1 MB, free: 3.934 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.00424, allocations: 0 / 483.1 MB, free: 3.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.004241, allocations: 0.7812 kB / 483.1 MB, free: 3.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004245, allocations: 0 / 483.1 MB, free: 3.934 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.0003543/0.0046, allocations: 328.6 kB / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.004631, allocations: 12.03 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.004668, allocations: 12.92 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.602e-05/0.004744, allocations: 116.5 kB / 483.5 MB, free: 3.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.004757, allocations: 8.938 kB / 483.5 MB, free: 3.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.004779, allocations: 13.17 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.015e-05/0.004839, allocations: 38.25 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.004845, allocations: 0.8125 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.004851, allocations: 384 / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004856, allocations: 1.688 kB / 483.6 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.84e-05/0.004875, allocations: 23.92 kB / 483.6 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/0.005109, allocations: 180.2 kB / 483.8 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.00516, allocations: 27.09 kB / 483.8 MB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.005172, allocations: 10.11 kB / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.005177, allocations: 0 / 483.8 MB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.639e-05/0.005264, allocations: 87.33 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.005265, allocations: 1.062 kB / 483.9 MB, free: 2.996 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001242/0.005389, allocations: 69.61 kB / 484 MB, free: 2.922 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.005419, allocations: 51.41 kB / 484 MB, free: 2.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.005492, allocations: 127.5 kB / 484.1 MB, free: 2.723 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.005515, allocations: 33.7 kB / 484.2 MB, free: 2.684 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.00555, allocations: 89.56 kB / 484.3 MB, free: 2.594 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.086e-05/0.005561, allocations: 11.91 kB / 484.3 MB, free: 2.582 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.00562, allocations: 53.66 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.182e-05/0.005692, allocations: 314.8 kB / 484.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.005763, allocations: 96.09 kB / 484.7 MB, free: 2.102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.005841, allocations: 135.7 kB / 484.9 MB, free: 1.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.091e-05/0.005932, allocations: 137 kB / 485 MB, free: 1.781 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005934, allocations: 4.844 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001897/0.006124, allocations: 257.5 kB / 485.2 MB, free: 1.496 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/0.006163, allocations: 67.39 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.006169, allocations: 8.719 kB / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.00618, allocations: 0 / 485.3 MB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.006197, allocations: 8.859 kB / 485.3 MB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006201, allocations: 3.938 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.006349, allocations: 44.92 kB / 485.4 MB, free: 1.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.006367, allocations: 8.609 kB / 485.4 MB, free: 1.348 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.74e-05/0.006444, allocations: 118.5 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.006455, allocations: 8.609 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.006479, allocations: 16.38 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.006481, allocations: 0.625 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.006483, allocations: 0.625 kB / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.006486, allocations: 0 / 485.5 MB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.763e-05/0.006553, allocations: 78.44 kB / 485.6 MB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.006555, allocations: 4 kB / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.00656, allocations: 0.7188 kB / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006562, allocations: 0 / 485.6 MB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.006568, allocations: 4.531 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.006569, allocations: 0.8438 kB / 485.6 MB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.006571, allocations: 3.938 kB / 485.6 MB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.471e-05/0.006646, allocations: 86.44 kB / 485.7 MB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.006657, allocations: 12 kB / 485.7 MB, free: 0.9844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.006666, allocations: 4 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.353e-05/0.006679, allocations: 0.9062 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.006708, allocations: 15.92 kB / 485.7 MB, free: 0.9648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.006712, allocations: 3.938 kB / 485.7 MB, free: 0.9609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.527e-05/0.006727, allocations: 19.16 kB / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006727, allocations: 0 / 485.8 MB, free: 0.9414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001369/0.006864, allocations: 35.98 kB / 485.8 MB, free: 0.9062 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.0001115/0.006975, allocations: 78.45 kB / 485.9 MB, free: 0.8242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.007175, allocations: 255 kB / 486.1 MB, free: 0.5352 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.00718, allocations: 4 kB / 486.1 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.007206, allocations: 32.77 kB / 486.2 MB, free: 0.4961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.007323, allocations: 22.36 kB / 486.2 MB, free: 492 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.007567, allocations: 146.4 kB / 486.3 MB, free: 316 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.007598, allocations: 55.36 kB / 486.4 MB, free: 240 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.851e-05/0.007626, allocations: 9.875 kB / 486.4 MB, free: 232 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.007731, allocations: 79.34 kB / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.007731, allocations: 0 / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of Templates: time 0.004362/0.01209, allocations: 2.208 MB / 488.7 MB, free: 14.09 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6026733960025012]