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.001928/0.001928, allocations: 78.88 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002156/0.002156, allocations: 173.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.412/1.412, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 1.155/1.155, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 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 178] 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: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.6187 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.102e-05, allocations: 4.672 kB / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001703/0.001734, allocations: 0.6369 MB / 0.6194 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.00347, allocations: 1.214 MB / 0.6206 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.003521, allocations: 0 / 0.6206 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.00355, allocations: 6.406 kB / 0.6206 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.003633, allocations: 11.94 kB / 0.6206 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.004284, allocations: 217.9 kB / 0.6208 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.00452, allocations: 175.8 kB / 0.621 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.004615, allocations: 7.984 kB / 0.621 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.004794, allocations: 99.8 kB / 0.6211 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.00493, allocations: 51.91 kB / 0.6211 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.004974, allocations: 16 kB / 0.6211 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.005051, allocations: 20 kB / 0.6211 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.005084, allocations: 15.92 kB / 0.6212 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.005173, allocations: 47.95 kB / 0.6212 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.00545, allocations: 183.5 kB / 0.6214 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.005453, allocations: 0 / 0.6214 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005454, allocations: 4 kB / 0.6214 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.005459, allocations: 0 / 0.6214 GB, free: 1.863 MB / 0.5294 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.0005808/0.00604, allocations: 361.5 kB / 0.6217 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.006082, allocations: 8.031 kB / 0.6217 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.006143, allocations: 16.89 kB / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.006269, allocations: 117.6 kB / 0.6219 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.006294, allocations: 8.375 kB / 0.6219 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.006327, allocations: 8.375 kB / 0.6219 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.006439, allocations: 46.23 kB / 0.6219 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006449, allocations: 4.188 kB / 0.6219 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006461, allocations: 384 / 0.6219 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006466, allocations: 4.375 kB / 0.6219 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.00651, allocations: 19.94 kB / 0.6219 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.006958, allocations: 264.5 kB / 0.6222 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.007038, allocations: 42.5 kB / 0.6222 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.007065, allocations: 12.86 kB / 0.6223 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.007075, allocations: 0 / 0.6223 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.007239, allocations: 87.38 kB / 0.6223 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.00724, allocations: 0 / 0.6223 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002386/0.007479, allocations: 109.6 kB / 0.6224 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.007527, allocations: 59.41 kB / 0.6225 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.007625, allocations: 113.8 kB / 0.6226 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.007655, allocations: 29.7 kB / 0.6226 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.749e-05/0.007733, allocations: 96.08 kB / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.007757, allocations: 23.83 kB / 0.6227 GB, free: 300 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.007846, allocations: 45.69 kB / 0.6228 GB, free: 248 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.00801, allocations: 318.8 kB / 0.6231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.008186, allocations: 119.4 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.008384, allocations: 159.6 kB / 0.6234 GB, free: 15.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.008586, allocations: 160 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.008591, allocations: 7.938 kB / 0.6235 GB, free: 15.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000479/0.00907, allocations: 324.2 kB / 0.6238 GB, free: 15.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.009127, allocations: 67.39 kB / 0.6239 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.009134, allocations: 4 kB / 0.6239 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.009151, allocations: 0 / 0.6239 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.098e-05/0.009172, allocations: 4 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.009177, allocations: 4.125 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.009505, allocations: 55.89 kB / 0.624 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.009534, allocations: 11.98 kB / 0.624 GB, free: 14.91 MB / 0.545 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 0.000115/0.009649, allocations: 127.6 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.009664, allocations: 7.891 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.009693, allocations: 12.44 kB / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.009694, allocations: 4 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.0097, allocations: 3.984 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.009703, allocations: 0 / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.009819, allocations: 117.3 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.00982, allocations: 0 / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.00983, allocations: 4.062 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.009833, allocations: 3.938 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.009843, allocations: 4 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.009844, allocations: 0 / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.009844, allocations: 0 / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.01001, allocations: 117 kB / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.01002, allocations: 8 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.01003, allocations: 7.922 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.01005, allocations: 0 / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.0101, allocations: 15.97 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.0101, allocations: 4 kB / 0.6244 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.01016, allocations: 91.22 kB / 0.6245 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01016, allocations: 0 / 0.6245 GB, free: 14.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00023/0.01039, allocations: 31.92 kB / 0.6245 GB, free: 14.3 MB / 0.545 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 0.0001553/0.01055, allocations: 99.25 kB / 0.6246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.01092, allocations: 282.1 kB / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01093, allocations: 3.938 kB / 0.6249 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.01097, allocations: 27.92 kB / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.0112, allocations: 12 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.01155, allocations: 161.4 kB / 0.6251 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.594e-05/0.01161, allocations: 71.59 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.01164, allocations: 8 kB / 0.6251 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.01166, allocations: 12.5 kB / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.01166, allocations: 0 / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of Templates: time 0.007259/0.01892, allocations: 2.056 MB / 0.6272 GB, free: 11.56 MB / 0.545 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.64354513399303] Failed to read output from testmodel.py, exit status != 0: 0.02879009023308754 0.052130168000000005 0.042330497 Calling exit ...