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.0008095/0.0008095, allocations: 76.52 kB / 19.91 MB, free: 4.641 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.0007612/0.0007612, allocations: 177.2 kB / 23.2 MB, free: 1.352 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.9154/0.9154, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.7473/0.7473, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.001399/0.001399, allocations: 75.88 kB / 0.6196 GB, free: 13.12 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.5118/0.5132, allocations: 101.9 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001493/0.5147, allocations: 0.6361 MB / 0.7197 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.516, allocations: 1.208 MB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.286e-05/0.516, allocations: 0 / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.5161, allocations: 4.594 kB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.5161, allocations: 23.98 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.5168, allocations: 214.5 kB / 0.7212 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.517, allocations: 170.9 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.5171, allocations: 16.98 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.5173, allocations: 89.12 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.5175, allocations: 57.55 kB / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.5175, allocations: 15.38 kB / 0.7215 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.5176, allocations: 36.84 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.689e-05/0.5177, allocations: 9.344 kB / 0.7215 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.891e-05/0.5178, allocations: 52.73 kB / 0.7216 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.5182, allocations: 186.8 kB / 0.7218 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.5182, allocations: 1.438 kB / 0.7218 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.288e-06/0.5182, allocations: 0 / 0.7218 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.5182, allocations: 3.938 kB / 0.7218 GB, free: 22.04 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.0006376/0.5188, allocations: 358.5 kB / 0.7221 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.5189, allocations: 9.5 kB / 0.7221 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.838e-05/0.519, allocations: 16.08 kB / 0.7221 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5191, allocations: 118.3 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.5191, allocations: 6.469 kB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.5191, allocations: 9.812 kB / 0.7223 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.5193, allocations: 58.16 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5193, allocations: 192 / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.5193, allocations: 5.859 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.5193, allocations: 1.188 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.5194, allocations: 14.14 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.52, allocations: 271.1 kB / 0.7226 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.5201, allocations: 39.25 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.5201, allocations: 23.14 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.5201, allocations: 9.781 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.5203, allocations: 78.95 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.345e-06/0.5203, allocations: 0 / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002901/0.5206, allocations: 113.4 kB / 0.7229 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.5207, allocations: 53.97 kB / 0.7229 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.5207, allocations: 116.8 kB / 0.723 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.5208, allocations: 34.27 kB / 0.723 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.5208, allocations: 93.72 kB / 0.7231 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.5208, allocations: 12.25 kB / 0.7231 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.5209, allocations: 52.31 kB / 0.7232 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.521, allocations: 319.5 kB / 0.7235 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5211, allocations: 120.2 kB / 0.7236 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.5212, allocations: 152.9 kB / 0.7238 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.5214, allocations: 163.3 kB / 0.7239 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5214, allocations: 3.938 kB / 0.7239 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003692/0.5217, allocations: 325.7 kB / 0.7242 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.5218, allocations: 68.09 kB / 0.7243 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5218, allocations: 4.656 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.5218, allocations: 2.266 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.427e-05/0.5219, allocations: 3.516 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/0.5219, allocations: 2.375 kB / 0.7243 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.5221, allocations: 63.33 kB / 0.7244 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.5222, allocations: 16.31 kB / 0.7244 GB, free: 19.77 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 8.476e-05/0.5222, allocations: 128.5 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.5223, allocations: 7.172 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.5223, allocations: 10.41 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.5223, allocations: 0.8438 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5223, allocations: 1.125 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.5223, allocations: 6.891 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.5223, allocations: 1.875 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.5223, allocations: 1.062 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.5224, allocations: 18.67 kB / 0.7246 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001266/0.5225, allocations: 155.4 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001238/0.5227, allocations: 255.2 kB / 0.7249 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.942e-05/0.5227, allocations: 25.64 kB / 0.725 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.5227, allocations: 97.09 kB / 0.7251 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of Backend: time 1.3e-07/0.5227, allocations: 0 / 0.7251 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.5233, allocations: 342.4 kB / 0.7254 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004353/0.5237, allocations: 0.6064 MB / 0.726 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.004874/0.5286, allocations: 2.154 MB / 0.7281 GB, free: 18.05 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.26296263304539] Failed to read output from testmodel.py, exit status != 0: 0.5362964060623199 0.546489505 0.026263966000000003 Calling exit ...