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.0008479/0.0008479, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001991, 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.0007411/0.0007411, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002029, 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 0.9697/0.9697, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08865/1.058, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.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.7905/0.7905, allocations: 154.6 MB / 398.5 MB, free: 0.5039 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2552/1.046, allocations: 49.03 MB / 447.6 MB, free: 6.672 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/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 1.412e-06/1.412e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.479e-05, allocations: 4.422 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001622/0.001637, allocations: 0.6913 MB / 449.6 MB, free: 4.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.003287, allocations: 1.248 MB / 450.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.003322, allocations: 0.5469 kB / 450.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.003343, allocations: 3.938 kB / 450.8 MB, free: 3.473 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.003387, allocations: 10.34 kB / 450.8 MB, free: 3.469 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.003856, allocations: 207.4 kB / 451 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.00408, allocations: 177.7 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.556e-05/0.004145, allocations: 10.06 kB / 451.2 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.00429, allocations: 102.5 kB / 451.3 MB, free: 3 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.004409, allocations: 50.88 kB / 451.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.004443, allocations: 16 kB / 451.4 MB, free: 2.938 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.004529, allocations: 28.72 kB / 451.4 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.004552, allocations: 9.531 kB / 451.4 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.004614, allocations: 35.56 kB / 451.5 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.004797, allocations: 103.7 kB / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51e-05/0.004812, allocations: 0 / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.004813, allocations: 0 / 451.6 MB, free: 2.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.004828, allocations: 0.9062 kB / 451.6 MB, free: 2.77 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.0004581/0.005286, allocations: 349.9 kB / 451.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.005315, allocations: 13.91 kB / 451.9 MB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.005357, allocations: 12.92 kB / 451.9 MB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.551e-05/0.005443, allocations: 117.7 kB / 452 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.005464, allocations: 8.375 kB / 452 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.005489, allocations: 8.375 kB / 452.1 MB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.005562, allocations: 43.11 kB / 452.1 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.005568, allocations: 4.125 kB / 452.1 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.005577, allocations: 5.5 kB / 452.1 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.005581, allocations: 1.656 kB / 452.1 MB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.005603, allocations: 11.94 kB / 452.1 MB, free: 2.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.005882, allocations: 176.3 kB / 452.3 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.406e-05/0.005946, allocations: 35.19 kB / 452.3 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.005962, allocations: 9.922 kB / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.005967, allocations: 0 / 452.3 MB, free: 1.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.006086, allocations: 92.36 kB / 452.4 MB, free: 1.801 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.006088, allocations: 1.734 kB / 452.4 MB, free: 1.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001346/0.006223, allocations: 77.53 kB / 452.5 MB, free: 1.719 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.006256, allocations: 52.03 kB / 452.6 MB, free: 1.656 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.006333, allocations: 127.2 kB / 452.7 MB, free: 1.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.006358, allocations: 33.7 kB / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.006409, allocations: 93.34 kB / 452.8 MB, free: 1.387 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.006423, allocations: 7.906 kB / 452.8 MB, free: 1.379 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.006504, allocations: 49.67 kB / 452.9 MB, free: 1.324 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.006593, allocations: 319.9 kB / 453.2 MB, free: 1.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.006695, allocations: 99.38 kB / 453.3 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.006808, allocations: 139.6 kB / 453.4 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.006938, allocations: 141.5 kB / 453.5 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00694, allocations: 0 / 453.5 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002594/0.007199, allocations: 265.8 kB / 453.8 MB, free: 284 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.007253, allocations: 67.39 kB / 453.9 MB, free: 204 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.007258, allocations: 9.438 kB / 453.9 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.00728, allocations: 0 / 453.9 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.007302, allocations: 4 kB / 453.9 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.007305, allocations: 0 / 453.9 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.007512, allocations: 41.7 kB / 453.9 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.00753, allocations: 7.984 kB / 453.9 MB, free: 144 kB / 426.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 6.979e-05/0.0076, allocations: 126.4 kB / 454.1 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.007614, allocations: 11.3 kB / 454.1 MB, free: 0 / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.054e-05/0.007635, allocations: 16.42 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007636, allocations: 0 / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007638, allocations: 0 / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007641, allocations: 0 / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.54e-05/0.007716, allocations: 89.7 kB / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.007717, allocations: 0 / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.007723, allocations: 0 / 454.2 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-06/0.007731, allocations: 11.94 kB / 454.2 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007733, allocations: 0.5625 kB / 454.2 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.007736, allocations: 0 / 454.2 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.007738, allocations: 5.156 kB / 454.2 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.007741, allocations: 4 kB / 454.2 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.008e-05/0.007811, allocations: 77.05 kB / 454.3 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.007819, allocations: 5.312 kB / 454.3 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.007832, allocations: 4 kB / 454.3 MB, free: 15.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.007855, allocations: 12.42 kB / 454.3 MB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.007858, allocations: 4.062 kB / 454.3 MB, free: 15.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.618e-05/0.007875, allocations: 25.92 kB / 454.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007875, allocations: 0.625 kB / 454.3 MB, free: 15.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001217/0.007996, allocations: 32 kB / 454.3 MB, free: 15.68 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 9.392e-05/0.00809, allocations: 81.59 kB / 454.4 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.008268, allocations: 259.6 kB / 454.7 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.008272, allocations: 4.938 kB / 454.7 MB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.008295, allocations: 24.78 kB / 454.7 MB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.808e-05/0.008393, allocations: 21.7 kB / 454.7 MB, free: 15.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.008767, allocations: 149.3 kB / 454.9 MB, free: 15.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.211e-05/0.008799, allocations: 60.25 kB / 454.9 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.907e-05/0.008818, allocations: 5 kB / 454.9 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.008907, allocations: 79.33 kB / 455 MB, free: 14.92 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008908, allocations: 0 / 455 MB, free: 14.92 MB / 442.7 MB Notification: Performance of Templates: time 0.003652/0.01256, allocations: 2.31 MB / 457.3 MB, free: 12.77 MB / 442.7 MB " [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.5140460282564163]