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.0009759/0.0009759, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.000991/0.000991, allocations: 181 kB / 23.36 MB, free: 1.133 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.9788/0.9788, allocations: 177.1 MB / 203.8 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.7741/0.7741, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.845e-06/2.845e-06, allocations: 0.6562 kB / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.796e-05, allocations: 2.312 kB / 480 MB, free: 6.859 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00206/0.002088, allocations: 0.6471 MB / 480.7 MB, free: 6.242 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.003876, allocations: 1.244 MB / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.003931, allocations: 0 / 481.9 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.003961, allocations: 3.938 kB / 481.9 MB, free: 4.984 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.595e-05/0.004047, allocations: 21.73 kB / 481.9 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.004559, allocations: 202.1 kB / 482.1 MB, free: 4.773 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.004755, allocations: 176.9 kB / 482.3 MB, free: 4.613 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.437e-05/0.00483, allocations: 8.625 kB / 482.3 MB, free: 4.605 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.004951, allocations: 97.98 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.005054, allocations: 54.59 kB / 482.5 MB, free: 4.461 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.005081, allocations: 19.94 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.005149, allocations: 37.3 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.005169, allocations: 6.172 kB / 482.5 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.005221, allocations: 55.89 kB / 482.6 MB, free: 4.348 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.005376, allocations: 128.8 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005378, allocations: 0 / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005379, allocations: 11.88 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.005383, allocations: 0.5938 kB / 482.7 MB, free: 4.211 MB / 442.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.0003521/0.005735, allocations: 331.3 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.005768, allocations: 8.938 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.005805, allocations: 12.92 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.128e-05/0.005886, allocations: 110.3 kB / 483.2 MB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.0059, allocations: 8.375 kB / 483.2 MB, free: 3.691 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.005921, allocations: 9.812 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.594e-05/0.005987, allocations: 46.23 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.005993, allocations: 192 / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.006, allocations: 384 / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.006005, allocations: 2.328 kB / 483.2 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.765e-05/0.006023, allocations: 15.86 kB / 483.2 MB, free: 3.617 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.006268, allocations: 181.7 kB / 483.4 MB, free: 3.426 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.301e-05/0.006321, allocations: 30.62 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.213e-05/0.006333, allocations: 8.859 kB / 483.5 MB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.00634, allocations: 4.844 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.793e-05/0.006428, allocations: 79.89 kB / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.006429, allocations: 0 / 483.5 MB, free: 3.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001236/0.006552, allocations: 74.55 kB / 483.6 MB, free: 3.203 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.006585, allocations: 59.39 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.006655, allocations: 123.2 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.006678, allocations: 29.7 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.006724, allocations: 99.05 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.006737, allocations: 11.94 kB / 483.9 MB, free: 2.855 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.006805, allocations: 41.67 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.006896, allocations: 318.8 kB / 484.3 MB, free: 2.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.229e-05/0.006979, allocations: 95.38 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.007074, allocations: 142.1 kB / 484.5 MB, free: 2.219 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.007182, allocations: 136.4 kB / 484.6 MB, free: 2.059 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007184, allocations: 0.7812 kB / 484.6 MB, free: 2.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002221/0.007406, allocations: 253.2 kB / 484.9 MB, free: 1.781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.007451, allocations: 68.55 kB / 485 MB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.00746, allocations: 8.547 kB / 485 MB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.00748, allocations: 4.047 kB / 485 MB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.517e-05/0.007505, allocations: 16.44 kB / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.00751, allocations: 0 / 485 MB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.007691, allocations: 49.11 kB / 485 MB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.007711, allocations: 8.578 kB / 485 MB, free: 1.621 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 9.273e-05/0.007803, allocations: 118.5 kB / 485.2 MB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.007817, allocations: 8.609 kB / 485.2 MB, free: 1.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.007848, allocations: 16.38 kB / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.007852, allocations: 1.281 kB / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.007855, allocations: 0 / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.007859, allocations: 0.5312 kB / 485.2 MB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.396e-05/0.007943, allocations: 78.97 kB / 485.3 MB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.007944, allocations: 0 / 485.3 MB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-06/0.007951, allocations: 3.938 kB / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.007953, allocations: 0.8438 kB / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.007959, allocations: 0 / 485.3 MB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.007963, allocations: 8.891 kB / 485.3 MB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.007967, allocations: 5.062 kB / 485.3 MB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.042e-05/0.008058, allocations: 85.09 kB / 485.4 MB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.008067, allocations: 4.953 kB / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.008076, allocations: 0 / 485.4 MB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.008092, allocations: 4.625 kB / 485.4 MB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.008125, allocations: 7.922 kB / 485.4 MB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.008131, allocations: 9.312 kB / 485.4 MB, free: 1.238 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.843e-05/0.008149, allocations: 17.3 kB / 485.4 MB, free: 1.219 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00815, allocations: 4 kB / 485.4 MB, free: 1.215 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.008297, allocations: 24 kB / 485.4 MB, free: 1.191 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.0001413/0.008438, allocations: 93.67 kB / 485.5 MB, free: 1.098 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.008639, allocations: 252.4 kB / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.008642, allocations: 0 / 485.8 MB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.008672, allocations: 32.81 kB / 485.8 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.008793, allocations: 17.89 kB / 485.8 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.009069, allocations: 148.9 kB / 486 MB, free: 0.5898 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.693e-05/0.009105, allocations: 59.34 kB / 486 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.009128, allocations: 7.938 kB / 486 MB, free: 0.5039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.009228, allocations: 83.28 kB / 486.1 MB, free: 432 kB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.009229, allocations: 0 / 486.1 MB, free: 432 kB / 442.7 MB Notification: Performance of Templates: time 0.003699/0.01293, allocations: 2.231 MB / 488.3 MB, free: 14.35 MB / 458.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.6757643157616258]