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.0009828/0.0009828, allocations: 92.22 kB / 19.65 MB, free: 276 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.001111/0.001111, allocations: 169 kB / 23.02 MB, free: 1.547 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.9874/0.9874, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.8544/0.8544, allocations: 154.8 MB / 414.7 MB, free: 484 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.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 2.996e-06/2.996e-06, allocations: 0 / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.338e-05/3.638e-05, allocations: 6.922 kB / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001476/0.001513, allocations: 0.651 MB / 0.5212 GB, free: 1.312 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.002816, allocations: 1.237 MB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.002859, allocations: 2.031 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.002889, allocations: 3.938 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.449e-05/0.002963, allocations: 3.938 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.003509, allocations: 216.7 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.003695, allocations: 175.6 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003799, allocations: 9.469 kB / 0.5228 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.00391, allocations: 95.92 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.004052, allocations: 55.83 kB / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.004092, allocations: 16 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-05/0.004175, allocations: 24.97 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.004204, allocations: 11.98 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.004284, allocations: 48.86 kB / 0.5231 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.004478, allocations: 143.6 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00448, allocations: 0 / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004482, allocations: 1 kB / 0.5232 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.004488, allocations: 0 / 0.5232 GB, free: 15.28 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.0004694/0.004958, allocations: 459.8 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.004998, allocations: 16.64 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.005053, allocations: 21.33 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.005141, allocations: 112.6 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.005154, allocations: 5.406 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.005177, allocations: 8.375 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.005277, allocations: 47.33 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005286, allocations: 192 / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.005296, allocations: 4.375 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.005304, allocations: 1 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.005335, allocations: 19.92 kB / 0.5239 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.005722, allocations: 325.1 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.005802, allocations: 39.06 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.005829, allocations: 15.77 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.005837, allocations: 1.812 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.005955, allocations: 92.89 kB / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.005956, allocations: 0 / 0.5243 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002031/0.006159, allocations: 97.62 kB / 0.5244 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.006195, allocations: 61.14 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/0.006282, allocations: 181.8 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.006303, allocations: 29.7 kB / 0.5247 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.006359, allocations: 138.9 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.006374, allocations: 15.89 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/0.006441, allocations: 56.09 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.006575, allocations: 0.4883 MB / 0.5253 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.006686, allocations: 112.8 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.006817, allocations: 157.8 kB / 0.5256 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.006953, allocations: 163.1 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006956, allocations: 4 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003199/0.007276, allocations: 321.2 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.259e-05/0.007328, allocations: 72.33 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.007335, allocations: 0 / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.007352, allocations: 3.25 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.14e-05/0.007373, allocations: 7.938 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.007381, allocations: 3.938 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.007548, allocations: 39.91 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.007568, allocations: 11.98 kB / 0.5262 GB, free: 11.88 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,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 9.015e-05/0.007659, allocations: 166.4 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.007682, allocations: 22.91 kB / 0.5264 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.007716, allocations: 8.438 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007719, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.007723, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.007727, allocations: 0 / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.007832, allocations: 124.6 kB / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.007834, allocations: 4 kB / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.007842, allocations: 3.984 kB / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007844, allocations: 5.438 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.007852, allocations: 3.938 kB / 0.5265 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.007855, allocations: 4 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.007856, allocations: 0 / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.007978, allocations: 122.2 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.007987, allocations: 7.953 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007998, allocations: 3.938 kB / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.008011, allocations: 0 / 0.5267 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.008057, allocations: 17.25 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.008063, allocations: 4 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.008115, allocations: 131.2 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008115, allocations: 0.625 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001666/0.008282, allocations: 28 kB / 0.5268 GB, free: 11.18 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,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.0001404/0.008422, allocations: 104.3 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.008691, allocations: 288.3 kB / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008693, allocations: 0 / 0.5272 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.008734, allocations: 31.73 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.008915, allocations: 18.42 kB / 0.5272 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.009208, allocations: 162.7 kB / 0.5274 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.611e-05/0.009245, allocations: 55.36 kB / 0.5275 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.00927, allocations: 7.984 kB / 0.5275 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.009295, allocations: 16.44 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of SimCode: time 7.02e-07/0.009296, allocations: 5.75 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.003747/0.01304, allocations: 2.05 MB / 0.5295 GB, free: 8.469 MB / 0.4948 GB " [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.9271858441643417]