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.001094/0.001094, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001584/0.001584, allocations: 173 kB / 23.49 MB, free: 1.055 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.978/0.978, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.8055/0.8055, allocations: 154.8 MB / 415.1 MB, free: 492 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 4.468e-06/4.468e-06, allocations: 4 kB / 0.5206 GB, free: 1.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.944e-05/4.391e-05, allocations: 8.516 kB / 0.5206 GB, free: 1.137 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001437/0.001481, allocations: 0.6429 MB / 0.5212 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.002628, allocations: 1.241 MB / 0.5224 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.002668, allocations: 0.7812 kB / 0.5224 GB, free: 15.27 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.002694, allocations: 3.938 kB / 0.5224 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.00276, allocations: 15.05 kB / 0.5224 GB, free: 15.25 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.003236, allocations: 207.4 kB / 0.5226 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.003418, allocations: 179.6 kB / 0.5228 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.003522, allocations: 8 kB / 0.5228 GB, free: 14.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.003627, allocations: 92.89 kB / 0.5229 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.003726, allocations: 55.83 kB / 0.523 GB, free: 14.72 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.003753, allocations: 16 kB / 0.523 GB, free: 14.7 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.00381, allocations: 24.53 kB / 0.523 GB, free: 14.68 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.003832, allocations: 12.92 kB / 0.523 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.003892, allocations: 51.89 kB / 0.5231 GB, free: 14.62 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.004067, allocations: 137.3 kB / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.00407, allocations: 0 / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004071, allocations: 0 / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.004075, allocations: 0 / 0.5232 GB, free: 14.48 MB / 458.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.0003982/0.004474, allocations: 471.8 kB / 0.5236 GB, free: 13.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.004509, allocations: 9 kB / 0.5237 GB, free: 13.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.582e-05/0.004565, allocations: 12.89 kB / 0.5237 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.737e-05/0.004642, allocations: 114.7 kB / 0.5238 GB, free: 13.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.004656, allocations: 4.375 kB / 0.5238 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.004677, allocations: 16.31 kB / 0.5238 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.087e-05/0.004758, allocations: 46.23 kB / 0.5238 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.004764, allocations: 192 / 0.5238 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004773, allocations: 384 / 0.5238 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.004779, allocations: 1.125 kB / 0.5238 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.075e-05/0.00481, allocations: 23.91 kB / 0.5239 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.005163, allocations: 332.4 kB / 0.5242 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.005227, allocations: 31.88 kB / 0.5242 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.00525, allocations: 15.77 kB / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.005257, allocations: 1.438 kB / 0.5242 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.005361, allocations: 96.91 kB / 0.5243 GB, free: 13.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005362, allocations: 0 / 0.5243 GB, free: 13.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001924/0.005555, allocations: 101.6 kB / 0.5244 GB, free: 13.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.005586, allocations: 52.19 kB / 0.5245 GB, free: 13.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.005673, allocations: 177.9 kB / 0.5246 GB, free: 12.83 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.005694, allocations: 30.48 kB / 0.5247 GB, free: 12.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.005753, allocations: 142.8 kB / 0.5248 GB, free: 12.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.005767, allocations: 19.03 kB / 0.5248 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.005828, allocations: 55.34 kB / 0.5249 GB, free: 12.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.005941, allocations: 496.1 kB / 0.5253 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.00605, allocations: 115.3 kB / 0.5255 GB, free: 11.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.006172, allocations: 161.8 kB / 0.5256 GB, free: 11.76 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.006293, allocations: 162.2 kB / 0.5258 GB, free: 11.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006295, allocations: 0.9062 kB / 0.5258 GB, free: 11.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002905/0.006585, allocations: 325.4 kB / 0.5261 GB, free: 11.22 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.006621, allocations: 68.36 kB / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.006626, allocations: 0 / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.006637, allocations: 4 kB / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.606e-05/0.006653, allocations: 4.781 kB / 0.5261 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.006659, allocations: 4.312 kB / 0.5262 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.006817, allocations: 37.77 kB / 0.5262 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.006841, allocations: 15.98 kB / 0.5262 GB, free: 11.08 MB / 458.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.414e-05/0.006915, allocations: 167.9 kB / 0.5264 GB, free: 10.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.006929, allocations: 19.88 kB / 0.5264 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.00695, allocations: 12.38 kB / 0.5264 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006951, allocations: 0.625 kB / 0.5264 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.006954, allocations: 0 / 0.5264 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006957, allocations: 1.625 kB / 0.5264 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.833e-05/0.007036, allocations: 128.6 kB / 0.5265 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007036, allocations: 0 / 0.5265 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/0.007044, allocations: 3.984 kB / 0.5265 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.007046, allocations: 5.094 kB / 0.5265 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.007056, allocations: 7.938 kB / 0.5265 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007058, allocations: 3.938 kB / 0.5265 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.00706, allocations: 4.797 kB / 0.5265 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.007166, allocations: 112.4 kB / 0.5266 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.83e-06/0.007172, allocations: 7.438 kB / 0.5267 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.007184, allocations: 3.938 kB / 0.5267 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.0072, allocations: 8 kB / 0.5267 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.007237, allocations: 3.984 kB / 0.5267 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.007242, allocations: 4 kB / 0.5267 GB, free: 10.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.00729, allocations: 139.1 kB / 0.5268 GB, free: 10.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00729, allocations: 0 / 0.5268 GB, free: 10.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.007446, allocations: 28 kB / 0.5268 GB, free: 10.38 MB / 458.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.0001293/0.007575, allocations: 114.1 kB / 0.5269 GB, free: 10.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.007857, allocations: 277.8 kB / 0.5272 GB, free: 9.945 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.007859, allocations: 0 / 0.5272 GB, free: 9.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.33e-05/0.007892, allocations: 27.67 kB / 0.5272 GB, free: 9.914 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.008062, allocations: 20.17 kB / 0.5273 GB, free: 9.898 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.00836, allocations: 158.9 kB / 0.5274 GB, free: 9.711 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.491e-05/0.008395, allocations: 58.61 kB / 0.5275 GB, free: 9.637 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.513e-05/0.00842, allocations: 9.422 kB / 0.5275 GB, free: 9.629 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.008445, allocations: 12.5 kB / 0.5275 GB, free: 9.617 MB / 458.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008445, allocations: 0 / 0.5275 GB, free: 9.617 MB / 458.7 MB Notification: Performance of Templates: time 0.003256/0.0117, allocations: 2.059 MB / 0.5295 GB, free: 7.68 MB / 458.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.7885021548718214]