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.0007382/0.0007382, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007507/0.0007507, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8474/0.8474, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.7015/0.7015, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.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 1.593e-06/1.593e-06, allocations: 0 / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.757e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001074/0.001092, allocations: 0.6368 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002099, allocations: 1.213 MB / 0.6211 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.002137, allocations: 0 / 0.6211 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.002163, allocations: 7.922 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.002223, allocations: 15.92 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.002666, allocations: 217 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.002822, allocations: 167.7 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.002901, allocations: 7.984 kB / 0.6215 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.002994, allocations: 95.86 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/0.003087, allocations: 55.84 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.003115, allocations: 16 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.257e-05/0.003167, allocations: 20 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.003187, allocations: 19.97 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.00324, allocations: 47.91 kB / 0.6218 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.003415, allocations: 187.5 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.003417, allocations: 3.938 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003418, allocations: 0 / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.003421, allocations: 0 / 0.622 GB, free: 10.41 MB / 0.5886 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.0003456/0.003767, allocations: 357.5 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.003799, allocations: 8.031 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.003843, allocations: 12.89 kB / 0.6223 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.178e-05/0.003905, allocations: 109.8 kB / 0.6224 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.003917, allocations: 12.38 kB / 0.6224 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.003936, allocations: 8.375 kB / 0.6225 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.984e-05/0.004016, allocations: 42.25 kB / 0.6225 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.004022, allocations: 4.188 kB / 0.6225 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004032, allocations: 12.3 kB / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.004036, allocations: 4.359 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.553e-05/0.004072, allocations: 19.88 kB / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.004373, allocations: 264.5 kB / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.628e-05/0.004429, allocations: 34.56 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.004446, allocations: 12.86 kB / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.004453, allocations: 4 kB / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.004553, allocations: 83.34 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.004554, allocations: 0 / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0001726/0.004726, allocations: 113.6 kB / 0.623 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.004754, allocations: 55.41 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.004813, allocations: 117.8 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.004832, allocations: 33.64 kB / 0.6232 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.004876, allocations: 92.09 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.004889, allocations: 19.89 kB / 0.6233 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.004944, allocations: 45.69 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.005007, allocations: 314.8 kB / 0.6237 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.005122, allocations: 127.7 kB / 0.6238 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.005231, allocations: 155.7 kB / 0.6239 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.005347, allocations: 159.6 kB / 0.6241 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.005351, allocations: 4 kB / 0.6241 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002756/0.005626, allocations: 328.2 kB / 0.6244 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.00566, allocations: 71.52 kB / 0.6245 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.005666, allocations: 4 kB / 0.6245 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.005675, allocations: 0 / 0.6245 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-05/0.005691, allocations: 11.92 kB / 0.6245 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.005695, allocations: 0 / 0.6245 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.005874, allocations: 51.94 kB / 0.6245 GB, free: 7.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.005892, allocations: 12.05 kB / 0.6246 GB, free: 7.469 MB / 0.5886 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 6.391e-05/0.005956, allocations: 126.8 kB / 0.6247 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.005964, allocations: 11.89 kB / 0.6247 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.005989, allocations: 12.44 kB / 0.6247 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005992, allocations: 0 / 0.6247 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.005995, allocations: 0 / 0.6247 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005998, allocations: 0 / 0.6247 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.186e-05/0.00607, allocations: 129.2 kB / 0.6248 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.006071, allocations: 0 / 0.6248 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-06/0.006074, allocations: 0 / 0.6248 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006076, allocations: 3.938 kB / 0.6248 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.006083, allocations: 7.938 kB / 0.6248 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.006084, allocations: 4 kB / 0.6248 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006085, allocations: 0 / 0.6248 GB, free: 7.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.741e-05/0.006173, allocations: 109.1 kB / 0.6249 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.006179, allocations: 4 kB / 0.6249 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.006189, allocations: 3.938 kB / 0.6249 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.0062, allocations: 3.984 kB / 0.625 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.006229, allocations: 11.98 kB / 0.625 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.006234, allocations: 7.938 kB / 0.625 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.826e-05/0.006262, allocations: 91.27 kB / 0.6251 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006262, allocations: 0 / 0.6251 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00015/0.006412, allocations: 31.95 kB / 0.6251 GB, free: 6.859 MB / 0.5886 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 8.737e-05/0.0065, allocations: 110.8 kB / 0.6252 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.006723, allocations: 278.1 kB / 0.6255 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006724, allocations: 0 / 0.6255 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.006756, allocations: 20 kB / 0.6255 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.006905, allocations: 15.98 kB / 0.6255 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.007141, allocations: 188 kB / 0.6257 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.007179, allocations: 71.33 kB / 0.6257 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.007194, allocations: 12.5 kB / 0.6258 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.007195, allocations: 0 / 0.6258 GB, free: 6.078 MB / 0.5886 GB Notification: Performance of Templates: time 0.001882/0.009076, allocations: 1.4 MB / 0.6271 GB, free: 4.699 MB / 0.5886 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: 4.755374814383686] Failed to read output from testmodel.py, exit status != 0: 0.013296199031174183 0.020950607000000003 0.015871538 Calling exit ...