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.0007868/0.0007868, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007771/0.0007771, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.8597/0.8597, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.6956/0.6956, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.0008993/0.0008993, allocations: 71.89 kB / 0.6196 GB, free: 13.1 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.4263/0.4272, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001396/0.4286, allocations: 0.6367 MB / 0.7197 GB, free: 23.27 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.4296, allocations: 1.213 MB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.4297, allocations: 0 / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.4297, allocations: 7.938 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.4298, allocations: 12.27 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005028/0.4303, allocations: 212.7 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.4305, allocations: 174.3 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.351e-05/0.4306, allocations: 9.406 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.4307, allocations: 105.5 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.4308, allocations: 56.83 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.4308, allocations: 20.19 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-05/0.4309, allocations: 27.72 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.4309, allocations: 5.688 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.431, allocations: 56.41 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.4312, allocations: 186.7 kB / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4312, allocations: 1.734 kB / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4312, allocations: 0 / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4312, allocations: 0 / 0.7218 GB, free: 22.02 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.0004044/0.4316, allocations: 358.2 kB / 0.7221 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4317, allocations: 10.73 kB / 0.7221 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.4317, allocations: 19.33 kB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.961e-05/0.4318, allocations: 120.4 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4318, allocations: 4.781 kB / 0.7222 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4318, allocations: 9.875 kB / 0.7223 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.4319, allocations: 53.88 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4319, allocations: 1.312 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4319, allocations: 4.547 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4319, allocations: 1.062 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/0.432, allocations: 15 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.4323, allocations: 275 kB / 0.7226 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.173e-05/0.4324, allocations: 43.61 kB / 0.7226 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.4324, allocations: 18.84 kB / 0.7227 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.4324, allocations: 1.703 kB / 0.7227 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.4326, allocations: 79.8 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.4326, allocations: 0 / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002131/0.4328, allocations: 113.4 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.4328, allocations: 53.88 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.916e-05/0.4329, allocations: 116 kB / 0.723 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4329, allocations: 33.7 kB / 0.723 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.4329, allocations: 99.31 kB / 0.7231 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.4329, allocations: 19.27 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.159e-05/0.433, allocations: 48.66 kB / 0.7232 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.157e-05/0.433, allocations: 319.4 kB / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.4332, allocations: 121.1 kB / 0.7236 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4333, allocations: 157.9 kB / 0.7238 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.4334, allocations: 168.1 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4334, allocations: 1.031 kB / 0.7239 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002998/0.4337, allocations: 325.4 kB / 0.7242 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.4337, allocations: 67.56 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4338, allocations: 1.062 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4338, allocations: 2 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.866e-05/0.4338, allocations: 2.891 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4338, allocations: 2.875 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.434, allocations: 63.52 kB / 0.7244 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.434, allocations: 16.7 kB / 0.7244 GB, free: 19.75 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 5.779e-05/0.4341, allocations: 127.8 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.4341, allocations: 8.234 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.4341, allocations: 10.38 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4341, allocations: 1.281 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4341, allocations: 0 / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4341, allocations: 2.297 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.241e-05/0.4342, allocations: 120.5 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4342, allocations: 4 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-06/0.4342, allocations: 1.844 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4342, allocations: 1.156 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.4342, allocations: 2.609 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4342, allocations: 0 / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4342, allocations: 0.9688 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.4343, allocations: 122.8 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-06/0.4343, allocations: 2.25 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.4343, allocations: 2.609 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.612e-05/0.4344, allocations: 1.938 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.4344, allocations: 10.2 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.4344, allocations: 7.531 kB / 0.7248 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.4344, allocations: 98.12 kB / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4344, allocations: 1.156 kB / 0.7249 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001639/0.4346, allocations: 31.34 kB / 0.7249 GB, free: 19.29 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.000106/0.4347, allocations: 103.3 kB / 0.725 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.4349, allocations: 279.9 kB / 0.7253 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4349, allocations: 1.188 kB / 0.7253 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.048e-05/0.435, allocations: 27 kB / 0.7253 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.4352, allocations: 23.06 kB / 0.7253 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.4355, allocations: 186.4 kB / 0.7255 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.4355, allocations: 73.66 kB / 0.7256 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.4355, allocations: 12.44 kB / 0.7256 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.4355, allocations: 0 / 0.7256 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.002666/0.4382, allocations: 1.424 MB / 0.727 GB, free: 18.56 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.370412467047572] Failed to read output from testmodel.py, exit status != 0: 0.4437864129431546 0.455936698 0.022922504 Calling exit ...