Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.001171/0.001171, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001767/0.002938, allocations: 435.8 kB / 10.33 MB, free: 368 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.001099/0.001099, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002522, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.021/1.021, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09116/1.112, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7926/0.7926, allocations: 155.3 MB / 399.2 MB, free: 15.94 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.2758/1.068, allocations: 49.13 MB / 448.4 MB, free: 6.055 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 449.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.445e-05, allocations: 8.141 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001175/0.001189, allocations: 0.6799 MB / 450.4 MB, free: 4.113 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.002312, allocations: 1.252 MB / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.002349, allocations: 0 / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.217e-05/0.002371, allocations: 0 / 451.6 MB, free: 2.852 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.804e-05/0.002419, allocations: 16.41 kB / 451.6 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.002806, allocations: 208.8 kB / 451.8 MB, free: 2.637 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.002998, allocations: 170.3 kB / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.003074, allocations: 12.61 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003191, allocations: 104.2 kB / 452.1 MB, free: 2.379 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.0033, allocations: 49.77 kB / 452.2 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.00333, allocations: 17.09 kB / 452.2 MB, free: 2.316 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.003407, allocations: 27.98 kB / 452.2 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.003428, allocations: 9.422 kB / 452.2 MB, free: 2.281 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.762e-05/0.003475, allocations: 36.94 kB / 452.3 MB, free: 2.246 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.003632, allocations: 103.7 kB / 452.4 MB, free: 2.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.003647, allocations: 0 / 452.4 MB, free: 2.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003648, allocations: 0.875 kB / 452.4 MB, free: 2.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.003664, allocations: 0 / 452.4 MB, free: 2.145 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.0004504/0.004115, allocations: 354.4 kB / 452.7 MB, free: 1.762 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.004147, allocations: 8.031 kB / 452.7 MB, free: 1.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.004186, allocations: 13.42 kB / 452.7 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.66e-05/0.004282, allocations: 123 kB / 452.8 MB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.004298, allocations: 5.219 kB / 452.9 MB, free: 1.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.004318, allocations: 12.31 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.876e-05/0.004396, allocations: 46.92 kB / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.004403, allocations: 192 / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.00441, allocations: 2.344 kB / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.004415, allocations: 384 / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.223e-05/0.004437, allocations: 17.52 kB / 452.9 MB, free: 1.516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002826/0.00472, allocations: 172.3 kB / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.004779, allocations: 30.58 kB / 453.1 MB, free: 1.293 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.004793, allocations: 9.422 kB / 453.1 MB, free: 1.281 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.846e-06/0.004802, allocations: 4.625 kB / 453.1 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.004904, allocations: 81.05 kB / 453.2 MB, free: 1.188 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.004905, allocations: 0 / 453.2 MB, free: 1.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001349/0.00504, allocations: 89.52 kB / 453.3 MB, free: 1.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.005075, allocations: 51.41 kB / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.507e-05/0.00514, allocations: 118.6 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.00516, allocations: 30.55 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.005203, allocations: 92.12 kB / 453.6 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.005217, allocations: 20.53 kB / 453.6 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.005275, allocations: 41.69 kB / 453.7 MB, free: 0.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.005349, allocations: 319.6 kB / 454 MB, free: 396 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.005425, allocations: 99.38 kB / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.208e-05/0.005507, allocations: 136.3 kB / 454.2 MB, free: 120 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.00562, allocations: 150.7 kB / 454.3 MB, free: 15.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.005626, allocations: 10.08 kB / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001815/0.005807, allocations: 260.3 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.005852, allocations: 67.39 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.005859, allocations: 7.938 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.005869, allocations: 0.9062 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.261e-05/0.005892, allocations: 4 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.005896, allocations: 0.9062 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.006065, allocations: 49.09 kB / 454.7 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.006081, allocations: 7.984 kB / 454.7 MB, free: 15.51 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,xor1.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 8.107e-05/0.006162, allocations: 124.4 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/0.006171, allocations: 4.594 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.0062, allocations: 20.36 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.006203, allocations: 1.922 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006205, allocations: 0 / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006209, allocations: 0.5312 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.12e-05/0.00628, allocations: 82.38 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.006281, allocations: 0 / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-06/0.006287, allocations: 0.625 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.006295, allocations: 8.766 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006297, allocations: 0 / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.006301, allocations: 1.219 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.006303, allocations: 3.938 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.006304, allocations: 0 / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.397e-05/0.006378, allocations: 89.34 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.006388, allocations: 4.703 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.006401, allocations: 4 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.00643, allocations: 12.83 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.006434, allocations: 4 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.585e-05/0.00645, allocations: 13.84 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00645, allocations: 4 kB / 455.1 MB, free: 15.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.006584, allocations: 27.98 kB / 455.1 MB, free: 15.07 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,xor1.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.000104/0.006688, allocations: 92.17 kB / 455.2 MB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.006907, allocations: 258.9 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.006912, allocations: 0.5 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-05/0.006935, allocations: 30.16 kB / 455.5 MB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001139/0.007049, allocations: 21.98 kB / 455.5 MB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.007444, allocations: 149 kB / 455.7 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.007474, allocations: 63.94 kB / 455.7 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.326e-05/0.007497, allocations: 11.52 kB / 455.8 MB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.007591, allocations: 80.25 kB / 455.8 MB, free: 14.29 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.007592, allocations: 0 / 455.8 MB, free: 14.29 MB / 442.7 MB Notification: Performance of Templates: time 0.003657/0.01125, allocations: 2.302 MB / 458.1 MB, free: 12.16 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.652639539912343]