Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.0008249/0.0008249, allocations: 100.4 kB / 19.7 MB, free: 452 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.0009168/0.0009168, allocations: 212.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8727/0.8727, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.7321/0.7321, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [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.0008858/0.0008858, allocations: 74.05 kB / 0.719 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4585, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001398/0.4599, allocations: 0.6305 MB / 0.8192 GB, free: 1.133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4609, allocations: 1.211 MB / 0.8204 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.4609, allocations: 0 / 0.8204 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.461, allocations: 5.375 kB / 0.8204 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.737e-05/0.461, allocations: 10.84 kB / 0.8204 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.4616, allocations: 227.3 kB / 0.8206 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.4618, allocations: 169.3 kB / 0.8208 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.4618, allocations: 4.562 kB / 0.8208 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.811e-05/0.4619, allocations: 73.73 kB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.462, allocations: 53.7 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.4621, allocations: 17.31 kB / 0.8209 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.4621, allocations: 21.03 kB / 0.821 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.4622, allocations: 18.09 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.755e-05/0.4622, allocations: 55.64 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.4624, allocations: 151.4 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4624, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4624, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.4624, allocations: 3.938 kB / 0.8212 GB, free: 15.93 MB / 0.6198 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.0004155/0.4629, allocations: 362.2 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4629, allocations: 8.281 kB / 0.8215 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.463, allocations: 17.33 kB / 0.8216 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.308e-05/0.463, allocations: 119 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4631, allocations: 9.828 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.4631, allocations: 11.12 kB / 0.8217 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.456e-05/0.4632, allocations: 49.88 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4632, allocations: 192 / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4632, allocations: 3.938 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4632, allocations: 0.5156 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.4632, allocations: 17.11 kB / 0.8218 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.4636, allocations: 272.7 kB / 0.822 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.476e-05/0.4637, allocations: 28.41 kB / 0.822 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.4637, allocations: 31.64 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.4637, allocations: 4 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.4638, allocations: 82.77 kB / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4638, allocations: 0 / 0.8222 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002054/0.464, allocations: 100.6 kB / 0.8222 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.4641, allocations: 57.39 kB / 0.8223 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.4641, allocations: 119.8 kB / 0.8224 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4642, allocations: 33.08 kB / 0.8224 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.4642, allocations: 89.75 kB / 0.8225 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.4642, allocations: 13.83 kB / 0.8225 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.4643, allocations: 53.69 kB / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.4644, allocations: 323.8 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4645, allocations: 120.2 kB / 0.823 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4646, allocations: 149.8 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.4647, allocations: 163.9 kB / 0.8233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4647, allocations: 0 / 0.8233 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002987/0.465, allocations: 326.6 kB / 0.8236 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.99e-05/0.465, allocations: 74.28 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.4651, allocations: 3.688 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4651, allocations: 0.75 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.78e-05/0.4651, allocations: 8.266 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4651, allocations: 3.938 kB / 0.8237 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.4653, allocations: 56.02 kB / 0.8238 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4653, allocations: 13.28 kB / 0.8238 GB, free: 13.67 MB / 0.6198 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,and1.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 7.06e-05/0.4654, allocations: 131.4 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.4654, allocations: 6.109 kB / 0.8239 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/0.4654, allocations: 6.562 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4654, allocations: 2 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4654, allocations: 1.406 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4654, allocations: 0.75 kB / 0.8239 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.794e-05/0.4655, allocations: 127.3 kB / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4655, allocations: 0 / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.03e-06/0.4655, allocations: 0 / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4655, allocations: 0.8438 kB / 0.824 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.4655, allocations: 5.094 kB / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4655, allocations: 0.7031 kB / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4655, allocations: 5.188 kB / 0.8241 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.4656, allocations: 112.9 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.4656, allocations: 3.938 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.4656, allocations: 5.469 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.4657, allocations: 1.188 kB / 0.8242 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.4657, allocations: 9.312 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.4657, allocations: 4.125 kB / 0.8242 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.4657, allocations: 89.45 kB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4657, allocations: 4 kB / 0.8243 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001612/0.4659, allocations: 32.33 kB / 0.8243 GB, free: 13.21 MB / 0.6198 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,and1.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 9.338e-05/0.466, allocations: 100 kB / 0.8244 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.4662, allocations: 280.8 kB / 0.8247 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4662, allocations: 5.125 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.4663, allocations: 24.08 kB / 0.8247 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.4664, allocations: 28.97 kB / 0.8247 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.4667, allocations: 179.8 kB / 0.8249 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.356e-05/0.4668, allocations: 70.3 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.4668, allocations: 15.66 kB / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.4668, allocations: 0 / 0.825 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.002462/0.4692, allocations: 1.399 MB / 0.8263 GB, free: 12.48 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.579155205748975] Failed to read output from testmodel.py, exit status != 0: 0.474272517953068 0.48440589900000003 0.02002156 Calling exit ...