Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008054/0.0008054, allocations: 76.45 kB / 19.9 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.0008697/0.0008697, allocations: 169.8 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.8927/0.8927, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.6894/0.6894, allocations: 154.9 MB / 414.9 MB, free: 488 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.001242/0.001242, allocations: 67.91 kB / 0.6199 GB, free: 12.73 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5081/0.5093, allocations: 102 MB / 0.7194 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001326/0.5106, allocations: 0.6261 MB / 0.7201 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.5117, allocations: 1.209 MB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.5118, allocations: 4 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.5118, allocations: 5.641 kB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.5119, allocations: 15.25 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.5124, allocations: 214.9 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.5126, allocations: 173.8 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.5127, allocations: 13.92 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.5128, allocations: 102.5 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.5129, allocations: 60.52 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.513, allocations: 15.84 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.513, allocations: 24.11 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.513, allocations: 12.69 kB / 0.7219 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.5131, allocations: 49.27 kB / 0.7219 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.5133, allocations: 155.5 kB / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5133, allocations: 4.5 kB / 0.7221 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5133, allocations: 0 / 0.7221 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5133, allocations: 1.094 kB / 0.7221 GB, free: 21.88 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.0004198/0.5137, allocations: 357.8 kB / 0.7224 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5138, allocations: 14.66 kB / 0.7224 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.5138, allocations: 12.88 kB / 0.7224 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.5139, allocations: 120.1 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.5139, allocations: 4.688 kB / 0.7225 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.514, allocations: 14.08 kB / 0.7226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.5141, allocations: 54.58 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.5141, allocations: 1.219 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.5141, allocations: 3.938 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5141, allocations: 2.078 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.942e-05/0.5141, allocations: 14.38 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.5145, allocations: 283.1 kB / 0.7229 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.456e-05/0.5146, allocations: 34.58 kB / 0.7229 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.5146, allocations: 16.22 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.5146, allocations: 1.031 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.5148, allocations: 83.31 kB / 0.723 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.5148, allocations: 0 / 0.723 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002301/0.515, allocations: 109.5 kB / 0.7231 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.515, allocations: 54.39 kB / 0.7232 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.331e-05/0.5151, allocations: 119.6 kB / 0.7233 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.5151, allocations: 34.61 kB / 0.7233 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.989e-05/0.5152, allocations: 94 kB / 0.7234 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.5152, allocations: 20.05 kB / 0.7234 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.5152, allocations: 48.64 kB / 0.7235 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.49e-05/0.5153, allocations: 320.1 kB / 0.7238 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.5154, allocations: 120.5 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.5155, allocations: 155.9 kB / 0.7241 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.5156, allocations: 166.8 kB / 0.7242 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5156, allocations: 5.125 kB / 0.7242 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003219/0.516, allocations: 321.2 kB / 0.7245 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.516, allocations: 67.45 kB / 0.7246 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.516, allocations: 2.391 kB / 0.7246 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.516, allocations: 1.281 kB / 0.7246 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.275e-05/0.5161, allocations: 3.562 kB / 0.7246 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.5161, allocations: 5.141 kB / 0.7246 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.5163, allocations: 61.05 kB / 0.7247 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.5163, allocations: 15.11 kB / 0.7247 GB, free: 19.62 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.392e-05/0.5164, allocations: 132.5 kB / 0.7248 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.5164, allocations: 6.203 kB / 0.7248 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.5164, allocations: 10.56 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5164, allocations: 1.094 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5164, allocations: 1.25 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.5164, allocations: 0.6562 kB / 0.7248 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.044e-05/0.5165, allocations: 125.4 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5165, allocations: 0.8438 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-06/0.5165, allocations: 1.125 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5165, allocations: 1.672 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.5165, allocations: 1.672 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5165, allocations: 1.094 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5165, allocations: 0.6562 kB / 0.7249 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.5166, allocations: 122.6 kB / 0.7251 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.853e-06/0.5166, allocations: 2.766 kB / 0.7251 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.5166, allocations: 1.984 kB / 0.7251 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.5167, allocations: 5.281 kB / 0.7251 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.5167, allocations: 19.2 kB / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.5167, allocations: 7.734 kB / 0.7251 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.355e-05/0.5167, allocations: 89.42 kB / 0.7252 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5167, allocations: 1.156 kB / 0.7252 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001641/0.5169, allocations: 31 kB / 0.7252 GB, free: 19.15 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.517, allocations: 101.2 kB / 0.7253 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002478/0.5173, allocations: 281.3 kB / 0.7256 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5173, allocations: 256 / 0.7256 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.5173, allocations: 29.38 kB / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.5175, allocations: 19.39 kB / 0.7256 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.5178, allocations: 160.5 kB / 0.7258 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.5178, allocations: 69.41 kB / 0.7258 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.617e-05/0.5178, allocations: 9.281 kB / 0.7259 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.5178, allocations: 20.56 kB / 0.7259 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of SimCode: time 9.01e-07/0.5178, allocations: 0 / 0.7259 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.004077/0.5219, allocations: 2.07 MB / 0.7279 GB, free: 18.34 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.232121311011724] Failed to read output from testmodel.py, exit status != 0: 0.5285484109772369 0.536215911 0.021059151 Calling exit ...