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.0008994/0.0008994, allocations: 80.45 kB / 19.9 MB, free: 12 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.001005/0.001005, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.918/0.918, allocations: 177.2 MB / 203.6 MB, free: 5.754 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-531:686: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-531:694: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.7314/0.7314, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009453/0.0009453, allocations: 67.91 kB / 0.6196 GB, free: 13.08 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.5345/0.5354, allocations: 101.9 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001401/0.5368, allocations: 0.6448 MB / 0.7197 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.538, allocations: 1.205 MB / 0.7209 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.538, allocations: 1.062 kB / 0.7209 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.5381, allocations: 4.688 kB / 0.7209 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.5381, allocations: 19.58 kB / 0.7209 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.5387, allocations: 213.8 kB / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.5389, allocations: 182.4 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.539, allocations: 13.64 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.5391, allocations: 94.23 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.5392, allocations: 53.66 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.5393, allocations: 14.62 kB / 0.7215 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.5393, allocations: 32.12 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.828e-05/0.5394, allocations: 13.95 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.419e-05/0.5394, allocations: 53.14 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.5397, allocations: 151.1 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5397, allocations: 1.188 kB / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5397, allocations: 0 / 0.7217 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.5397, allocations: 0 / 0.7217 GB, free: 21.97 MB / 0.6355 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.0004162/0.5401, allocations: 357.6 kB / 0.7221 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5402, allocations: 10.36 kB / 0.7221 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.5402, allocations: 12.08 kB / 0.7221 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.453e-05/0.5403, allocations: 119.2 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5403, allocations: 14.12 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.5403, allocations: 9.312 kB / 0.7222 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.5404, allocations: 50.47 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5404, allocations: 0.8438 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5404, allocations: 9 kB / 0.7223 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5405, allocations: 2.016 kB / 0.7223 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.5405, allocations: 13.3 kB / 0.7223 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.5409, allocations: 279.3 kB / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.72e-05/0.5409, allocations: 31.42 kB / 0.7226 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/0.541, allocations: 20.34 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.541, allocations: 4 kB / 0.7226 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.5411, allocations: 83.8 kB / 0.7227 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.5411, allocations: 0 / 0.7227 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002168/0.5413, allocations: 113.8 kB / 0.7228 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.5414, allocations: 53.08 kB / 0.7229 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.617e-05/0.5414, allocations: 116.6 kB / 0.723 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5415, allocations: 31.02 kB / 0.723 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.837e-05/0.5415, allocations: 93.41 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.5415, allocations: 20.34 kB / 0.7231 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.5416, allocations: 52.59 kB / 0.7232 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.749e-05/0.5416, allocations: 319.4 kB / 0.7235 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.5417, allocations: 120.8 kB / 0.7236 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.5419, allocations: 163.2 kB / 0.7237 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.542, allocations: 163.4 kB / 0.7239 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.542, allocations: 0 / 0.7239 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000309/0.5423, allocations: 330.2 kB / 0.7242 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.5423, allocations: 67.52 kB / 0.7243 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5423, allocations: 2.125 kB / 0.7243 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5423, allocations: 1.094 kB / 0.7243 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.5424, allocations: 3.531 kB / 0.7243 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5424, allocations: 2.156 kB / 0.7243 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.5426, allocations: 59.67 kB / 0.7243 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.5426, allocations: 19.53 kB / 0.7244 GB, free: 19.7 MB / 0.6355 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 6.527e-05/0.5427, allocations: 130 kB / 0.7245 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.5427, allocations: 6.484 kB / 0.7245 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.5427, allocations: 10.16 kB / 0.7245 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.5427, allocations: 2 kB / 0.7245 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.5427, allocations: 1.031 kB / 0.7245 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5427, allocations: 1.078 kB / 0.7245 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.435e-05/0.5428, allocations: 116.1 kB / 0.7246 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5428, allocations: 1.094 kB / 0.7246 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-06/0.5428, allocations: 9.562 kB / 0.7246 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5428, allocations: 5.312 kB / 0.7246 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.5428, allocations: 2.812 kB / 0.7246 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5428, allocations: 0 / 0.7246 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5428, allocations: 1.094 kB / 0.7246 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.5429, allocations: 123.1 kB / 0.7247 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.5429, allocations: 2.344 kB / 0.7247 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.5429, allocations: 2.031 kB / 0.7247 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.432e-05/0.543, allocations: 2.328 kB / 0.7247 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.543, allocations: 10.38 kB / 0.7248 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.543, allocations: 2.281 kB / 0.7248 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.543, allocations: 94.83 kB / 0.7249 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.543, allocations: 4 kB / 0.7249 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001596/0.5432, allocations: 27.56 kB / 0.7249 GB, free: 19.24 MB / 0.6355 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.0001127/0.5433, allocations: 104.8 kB / 0.725 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.5436, allocations: 277.4 kB / 0.7252 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5436, allocations: 0 / 0.7252 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.5436, allocations: 29.77 kB / 0.7253 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.5438, allocations: 19.98 kB / 0.7253 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.5441, allocations: 160.5 kB / 0.7254 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.366e-05/0.5441, allocations: 72.45 kB / 0.7255 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.5441, allocations: 9.031 kB / 0.7255 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.5441, allocations: 13.25 kB / 0.7255 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/0.5441, allocations: 0 / 0.7255 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.004176/0.5483, allocations: 2.08 MB / 0.7276 GB, free: 18.43 MB / 0.6355 GB " [Timeout remaining time 659] 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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.318954847985879] Failed to read output from testmodel.py, exit status != 0: 0.5546349190408364 0.5633301150000001 0.021809943000000002 Calling exit ...