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.001048/0.001048, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001564/0.002612, 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.001124/0.001124, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00163/0.002753, 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 1.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0911/1.105, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.8073/0.8073, 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.2732/1.081, allocations: 49.13 MB / 448.6 MB, free: 5.91 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.713e-06/1.713e-06, allocations: 0 / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.191e-05, allocations: 2.859 kB / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001331/0.001353, allocations: 0.6973 MB / 450.7 MB, free: 3.934 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.002432, allocations: 1.24 MB / 451.9 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.002466, allocations: 0 / 451.9 MB, free: 2.684 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.002488, allocations: 10.39 kB / 451.9 MB, free: 2.676 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.812e-05/0.002536, allocations: 8.922 kB / 451.9 MB, free: 2.672 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.00292, allocations: 207.4 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.003101, allocations: 182.6 kB / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.003163, allocations: 0 / 452.3 MB, free: 2.309 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.003275, allocations: 107.1 kB / 452.4 MB, free: 2.207 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.653e-05/0.003372, allocations: 55.33 kB / 452.5 MB, free: 2.156 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.003397, allocations: 12.66 kB / 452.5 MB, free: 2.145 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.003469, allocations: 31.98 kB / 452.5 MB, free: 2.113 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.003491, allocations: 5.859 kB / 452.5 MB, free: 2.109 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.003537, allocations: 34.3 kB / 452.5 MB, free: 2.078 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.003684, allocations: 107.1 kB / 452.6 MB, free: 1.977 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.003695, allocations: 0 / 452.6 MB, free: 1.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003696, allocations: 1.734 kB / 452.6 MB, free: 1.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.003703, allocations: 0 / 452.6 MB, free: 1.977 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.0003855/0.004089, allocations: 350.5 kB / 453 MB, free: 1.598 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.004117, allocations: 8.031 kB / 453 MB, free: 1.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.004156, allocations: 15.55 kB / 453 MB, free: 1.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.004241, allocations: 125.6 kB / 453.1 MB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.004253, allocations: 4.984 kB / 453.1 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.004275, allocations: 12.38 kB / 453.1 MB, free: 1.414 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/0.00434, allocations: 43.22 kB / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.004347, allocations: 4.188 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.004353, allocations: 384 / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.004359, allocations: 2.609 kB / 453.2 MB, free: 1.363 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.361e-05/0.004372, allocations: 7.938 kB / 453.2 MB, free: 1.355 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.004619, allocations: 180.8 kB / 453.4 MB, free: 1.164 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.414e-05/0.004673, allocations: 32.36 kB / 453.4 MB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.004688, allocations: 12.94 kB / 453.4 MB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-06/0.004694, allocations: 0 / 453.4 MB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.32e-05/0.004787, allocations: 76.08 kB / 453.5 MB, free: 1.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.004788, allocations: 4.812 kB / 453.5 MB, free: 1.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001338/0.004921, allocations: 73.59 kB / 453.6 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.004958, allocations: 59.41 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.093e-05/0.005029, allocations: 127.5 kB / 453.8 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.005053, allocations: 29.7 kB / 453.8 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.005095, allocations: 92.69 kB / 453.9 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.005108, allocations: 13.62 kB / 453.9 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/0.005164, allocations: 41.67 kB / 453.9 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.005243, allocations: 322.8 kB / 454.2 MB, free: 228 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.005321, allocations: 99.94 kB / 454.3 MB, free: 116 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.744e-05/0.005419, allocations: 136.8 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.005524, allocations: 149.9 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.005527, allocations: 1.219 kB / 454.6 MB, free: 15.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001987/0.005725, allocations: 266.9 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.005773, allocations: 67.34 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.005781, allocations: 9.078 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.005794, allocations: 4 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.991e-05/0.005814, allocations: 4 kB / 455 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.005818, allocations: 4.531 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.005979, allocations: 41.83 kB / 455 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.005998, allocations: 11.98 kB / 455 MB, free: 15.34 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 7.178e-05/0.00607, allocations: 119.1 kB / 455.1 MB, free: 15.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.006083, allocations: 7.984 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.006109, allocations: 12.38 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.006113, allocations: 4 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.006116, allocations: 4.562 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.006119, allocations: 1.344 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.593e-05/0.006195, allocations: 77.81 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006197, allocations: 0 / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-06/0.006204, allocations: 4 kB / 455.3 MB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-06/0.006212, allocations: 8.969 kB / 455.3 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006213, allocations: 4 kB / 455.3 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.006218, allocations: 0.5312 kB / 455.3 MB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.006221, allocations: 3.938 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.006222, allocations: 1.094 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.00632, allocations: 89.34 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.006332, allocations: 0 / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.006349, allocations: 4.625 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.00638, allocations: 8.547 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.006386, allocations: 8 kB / 455.4 MB, free: 14.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.272e-05/0.006409, allocations: 17.45 kB / 455.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006409, allocations: 0 / 455.4 MB, free: 14.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001516/0.006561, allocations: 28.62 kB / 455.4 MB, free: 14.9 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.0001468/0.006708, allocations: 86.64 kB / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.006941, allocations: 269 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.006948, allocations: 4.812 kB / 455.8 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.773e-05/0.006976, allocations: 16.86 kB / 455.8 MB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.007157, allocations: 135.6 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.007637, allocations: 149 kB / 456.1 MB, free: 14.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.504e-05/0.007672, allocations: 60.03 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.064e-05/0.007702, allocations: 11.39 kB / 456.1 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.007815, allocations: 87.28 kB / 456.2 MB, free: 13.99 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007816, allocations: 3.938 kB / 456.2 MB, free: 13.99 MB / 442.7 MB Notification: Performance of Templates: time 0.00372/0.01154, allocations: 2.261 MB / 458.5 MB, free: 11.89 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.6258103428408504]