Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0007527/0.0007527, allocations: 72.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.0007128/0.0007128, 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.8184/0.8184, allocations: 177.2 MB / 203.6 MB, free: 5.785 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6857/0.6857, allocations: 154.9 MB / 415 MB, free: 480 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [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.0008967/0.0008967, allocations: 67.89 kB / 0.6199 GB, free: 12.59 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.4047/0.4056, allocations: 102 MB / 0.7195 GB, free: 23.53 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001377/0.407, allocations: 0.6232 MB / 0.7201 GB, free: 23.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.4082, allocations: 1.208 MB / 0.7213 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.4082, allocations: 4 kB / 0.7213 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.4083, allocations: 3.938 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.079e-05/0.4083, allocations: 12.3 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.4089, allocations: 223.2 kB / 0.7215 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.409, allocations: 173.1 kB / 0.7217 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.4091, allocations: 13.28 kB / 0.7217 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4092, allocations: 100.8 kB / 0.7218 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.4093, allocations: 48.11 kB / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.4094, allocations: 14.88 kB / 0.7218 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.4094, allocations: 36.39 kB / 0.7219 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.4095, allocations: 13.17 kB / 0.7219 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.4095, allocations: 52.28 kB / 0.7219 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.4097, allocations: 181.6 kB / 0.7221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4097, allocations: 0 / 0.7221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4097, allocations: 0 / 0.7221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4097, allocations: 1.656 kB / 0.7221 GB, free: 21.91 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.0003737/0.4101, allocations: 358.3 kB / 0.7225 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4102, allocations: 18.81 kB / 0.7225 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.4102, allocations: 16.11 kB / 0.7225 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.719e-05/0.4103, allocations: 114.7 kB / 0.7226 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4103, allocations: 6.562 kB / 0.7226 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.4103, allocations: 8.438 kB / 0.7226 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.809e-05/0.4104, allocations: 62.34 kB / 0.7227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.4104, allocations: 4.172 kB / 0.7227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.4104, allocations: 6.047 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4104, allocations: 1.062 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.406e-05/0.4105, allocations: 13.14 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.4108, allocations: 269.8 kB / 0.723 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.4109, allocations: 38.58 kB / 0.723 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.4109, allocations: 19.12 kB / 0.723 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.4109, allocations: 1.031 kB / 0.723 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.411, allocations: 77.62 kB / 0.7231 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.411, allocations: 0 / 0.7231 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002079/0.4112, allocations: 114 kB / 0.7232 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.4113, allocations: 53.09 kB / 0.7232 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.4113, allocations: 116.4 kB / 0.7234 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4113, allocations: 30.27 kB / 0.7234 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.4114, allocations: 98 kB / 0.7235 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.4114, allocations: 15.03 kB / 0.7235 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.4114, allocations: 50.69 kB / 0.7235 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.107e-05/0.4115, allocations: 319.4 kB / 0.7238 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.4116, allocations: 115.2 kB / 0.724 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.4117, allocations: 155.4 kB / 0.7241 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.4118, allocations: 167.9 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4118, allocations: 4 kB / 0.7243 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002841/0.4121, allocations: 324.2 kB / 0.7246 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.4121, allocations: 64.58 kB / 0.7246 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4121, allocations: 1.656 kB / 0.7246 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4122, allocations: 5.25 kB / 0.7246 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.4122, allocations: 7.141 kB / 0.7247 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.4122, allocations: 1.938 kB / 0.7247 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.4124, allocations: 60.89 kB / 0.7247 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.4124, allocations: 11.95 kB / 0.7247 GB, free: 19.64 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,or1.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.841e-05/0.4125, allocations: 131.6 kB / 0.7249 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-06/0.4125, allocations: 11.08 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.4125, allocations: 6.562 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.4125, allocations: 2 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4125, allocations: 0 / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4125, allocations: 1.078 kB / 0.7249 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.29e-05/0.4126, allocations: 128.2 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4126, allocations: 0.625 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-06/0.4126, allocations: 1.781 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4126, allocations: 0.9062 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.4126, allocations: 1.703 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4126, allocations: 1.859 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4126, allocations: 4.062 kB / 0.725 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.4127, allocations: 119.4 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-06/0.4127, allocations: 2.281 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.4127, allocations: 1.406 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.502e-05/0.4127, allocations: 6.094 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4128, allocations: 9.688 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.4128, allocations: 3.875 kB / 0.7251 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.556e-05/0.4128, allocations: 97.58 kB / 0.7252 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4128, allocations: 0 / 0.7252 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001678/0.413, allocations: 32.75 kB / 0.7253 GB, free: 19.18 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,or1.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.0001/0.4131, allocations: 99.27 kB / 0.7254 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.4133, allocations: 276.1 kB / 0.7256 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4133, allocations: 256 / 0.7256 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.4133, allocations: 29.42 kB / 0.7257 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.4135, allocations: 16.77 kB / 0.7257 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.4138, allocations: 185.7 kB / 0.7258 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.4138, allocations: 70.14 kB / 0.7259 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.4139, allocations: 13.03 kB / 0.7259 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of SimCode: time 5.41e-07/0.4139, allocations: 0 / 0.7259 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.002871/0.4167, allocations: 1.403 MB / 0.7273 GB, free: 18.47 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.350023881997913] Failed to read output from testmodel.py, exit status != 0: 0.4224947770126164 0.439057145 0.026618091 Calling exit ...