Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008979/0.0008979, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.000942/0.000942, allocations: 165 kB / 24.05 MB, free: 452 kB / 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.9675/0.9675, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7417/0.7417, allocations: 154.6 MB / 415.6 MB, free: 0.5156 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 0 / 0.5215 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/3e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001409/0.001439, allocations: 0.638 MB / 0.5222 GB, free: 1.25 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.002953, allocations: 1.239 MB / 0.5234 GB, free: 0 / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.029e-05/0.003003, allocations: 0 / 0.5234 GB, free: 0 / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.717e-05/0.00305, allocations: 4.047 kB / 0.5234 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.003134, allocations: 16.48 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.003674, allocations: 209.3 kB / 0.5236 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.00386, allocations: 173.5 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.003942, allocations: 11.98 kB / 0.5238 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.004055, allocations: 95.86 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.004156, allocations: 47.91 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.004184, allocations: 16 kB / 0.5239 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.389e-05/0.004248, allocations: 28.48 kB / 0.5239 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.004271, allocations: 13.39 kB / 0.524 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.00432, allocations: 55.89 kB / 0.524 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004478, allocations: 135.6 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.00448, allocations: 0 / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004481, allocations: 0.9688 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.004485, allocations: 0 / 0.5241 GB, free: 15.21 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.0004023/0.004888, allocations: 467.9 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.004921, allocations: 9 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.004966, allocations: 16.83 kB / 0.5246 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.005046, allocations: 113.6 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.005061, allocations: 8.375 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.005081, allocations: 20.36 kB / 0.5247 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.771e-05/0.005148, allocations: 39.16 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.005156, allocations: 192 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.005162, allocations: 384 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.005167, allocations: 0.875 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.692e-05/0.005184, allocations: 16.95 kB / 0.5248 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.005483, allocations: 312.2 kB / 0.5251 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.794e-05/0.005541, allocations: 32.28 kB / 0.5251 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.005563, allocations: 19.77 kB / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.005569, allocations: 0 / 0.5252 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.744e-05/0.005666, allocations: 82.73 kB / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005667, allocations: 0 / 0.5252 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001676/0.005835, allocations: 97.55 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.005868, allocations: 59.39 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/0.005944, allocations: 183.5 kB / 0.5256 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.005965, allocations: 29.7 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.006018, allocations: 138.9 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.006032, allocations: 19.88 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/0.006093, allocations: 55.28 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.006204, allocations: 0.49 MB / 0.5263 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.006286, allocations: 99.36 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.006378, allocations: 149.8 kB / 0.5265 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.006486, allocations: 159.9 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006489, allocations: 0 / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002686/0.006757, allocations: 301.3 kB / 0.5269 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.006803, allocations: 75.33 kB / 0.527 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.006808, allocations: 3.984 kB / 0.527 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.006819, allocations: 4.922 kB / 0.527 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.835e-05/0.006837, allocations: 7.938 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.00684, allocations: 3.469 kB / 0.527 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.006998, allocations: 39.91 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.007017, allocations: 11.98 kB / 0.5271 GB, free: 11.89 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 8.562e-05/0.007103, allocations: 164.6 kB / 0.5272 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.007116, allocations: 11.94 kB / 0.5273 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.007139, allocations: 15.16 kB / 0.5273 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.007141, allocations: 4 kB / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.007143, allocations: 0 / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007146, allocations: 0 / 0.5273 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.764e-05/0.007233, allocations: 109.2 kB / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007235, allocations: 64 / 0.5274 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-06/0.007244, allocations: 11.94 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007246, allocations: 0 / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.007251, allocations: 1.312 kB / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.007252, allocations: 0 / 0.5274 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.007255, allocations: 7.922 kB / 0.5274 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.007363, allocations: 116.4 kB / 0.5275 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.007373, allocations: 13.5 kB / 0.5275 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-06/0.007381, allocations: 0 / 0.5275 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.007395, allocations: 0 / 0.5275 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.007427, allocations: 19.86 kB / 0.5275 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.007431, allocations: 1.281 kB / 0.5275 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.007476, allocations: 131.2 kB / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.007476, allocations: 0 / 0.5277 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001615/0.007638, allocations: 32.66 kB / 0.5277 GB, free: 11.21 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.0001215/0.007759, allocations: 100 kB / 0.5278 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.007981, allocations: 266.2 kB / 0.528 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.007983, allocations: 2 kB / 0.528 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.987e-05/0.008013, allocations: 31.67 kB / 0.5281 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.008186, allocations: 19.36 kB / 0.5281 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.008442, allocations: 162.7 kB / 0.5283 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.008475, allocations: 59.34 kB / 0.5283 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.0085, allocations: 4 kB / 0.5283 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.00861, allocations: 114.1 kB / 0.5284 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of SimCode: time 9.01e-07/0.008611, allocations: 0 / 0.5284 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.003994/0.01261, allocations: 2.292 MB / 0.5307 GB, free: 8.223 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.636315592098981]