Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.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.001481/0.001481, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001609/0.001609, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.384/1.384, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.127/0.127, allocations: 23.93 MB / 337.1 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Chemical 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.001955/0.001955, allocations: 71.89 kB / 472.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2949, allocations: 59.87 MB / 0.5198 GB, free: 9.715 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:620:5-620:64:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:620:5-620:64:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Boundaries.Tests.TestBoundaries): time 0.0755/0.3704, allocations: 32.57 MB / 0.5516 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01166/0.3821, allocations: 5.544 MB / 0.5571 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.3848, allocations: 51.69 kB / 0.5571 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003954/0.3887, allocations: 1.199 MB / 0.5583 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.392, allocations: 1.01 MB / 0.5593 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.3932, allocations: 430.2 kB / 0.5597 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.3974, allocations: 2.656 MB / 0.5623 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.3989, allocations: 0.9996 MB / 0.5632 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.4003, allocations: 1.147 MB / 0.5644 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.4016, allocations: 1.292 MB / 0.5656 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.402, allocations: 284 kB / 0.5659 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.4037, allocations: 0.7409 MB / 0.5666 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007029/0.4044, allocations: 0.8214 MB / 0.5674 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.4057, allocations: 1.317 MB / 0.5687 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005704/0.4114, allocations: 4.992 MB / 0.5736 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4114, allocations: 0 / 0.5736 GB, free: 2.691 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4114, allocations: 0 / 0.5736 GB, free: 2.691 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.32e-05/0.4115, allocations: 0 / 0.5736 GB, free: 2.691 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.004914/0.4164, allocations: 3.791 MB / 0.5773 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4165, allocations: 12.03 kB / 0.5773 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.4172, allocations: 494.1 kB / 0.5778 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.4195, allocations: 1.436 MB / 0.5792 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.4197, allocations: 242.7 kB / 0.5794 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.42, allocations: 319.9 kB / 0.5797 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006513/0.4265, allocations: 4.708 MB / 0.5843 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.251e-05/0.4266, allocations: 19.81 kB / 0.5843 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002392/0.4269, allocations: 140 kB / 0.5845 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003672/0.4272, allocations: 349.8 kB / 0.5848 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005131/0.4324, allocations: 3.571 MB / 0.5883 GB, free: 3.125 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/0.4515, allocations: 18.51 MB / 0.6063 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.4527, allocations: 0.7168 MB / 0.607 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.4534, allocations: 468.5 kB / 0.6075 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.4538, allocations: 85.5 kB / 0.6076 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.4539, allocations: 46.5 kB / 0.6076 GB, free: 14.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.434e-06/0.4539, allocations: 0 / 0.6076 GB, free: 14.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002776/0.4566, allocations: 1.529 MB / 0.6091 GB, free: 13.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/0.4568, allocations: 290.7 kB / 0.6094 GB, free: 12.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001975/0.4588, allocations: 1.584 MB / 0.6109 GB, free: 11.08 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.4588, allocations: 33.64 kB / 0.611 GB, free: 11.04 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.4601, allocations: 1.797 MB / 0.6127 GB, free: 9.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.4603, allocations: 115.2 kB / 0.6128 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002829/0.4605, allocations: 178.5 kB / 0.613 GB, free: 8.938 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4607, allocations: 330 kB / 0.6133 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000715/0.4614, allocations: 465.8 kB / 0.6138 GB, free: 8.152 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.4624, allocations: 0.8681 MB / 0.6146 GB, free: 7.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.4642, allocations: 1.383 MB / 0.616 GB, free: 5.496 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.4642, allocations: 4 kB / 0.616 GB, free: 5.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002335/0.4666, allocations: 1.51 MB / 0.6174 GB, free: 3.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4666, allocations: 12 kB / 0.6175 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.4666, allocations: 16.12 kB / 0.6175 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.4668, allocations: 65.64 kB / 0.6175 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/0.4674, allocations: 195.7 kB / 0.6177 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.4695, allocations: 2.54 MB / 0.6202 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006683/0.4701, allocations: 103.3 kB / 0.6203 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/0.4702, allocations: 63.98 kB / 0.6204 GB, free: 0.7695 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001327/0.4716, allocations: 0.7673 MB / 0.6211 GB, free: 15.99 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.4719, allocations: 166.9 kB / 0.6213 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.4736, allocations: 0.8851 MB / 0.6221 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.4736, allocations: 12.06 kB / 0.6221 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4736, allocations: 7.938 kB / 0.6221 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4736, allocations: 3.984 kB / 0.6221 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.4761, allocations: 1.479 MB / 0.6236 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4761, allocations: 0 / 0.6236 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.4765, allocations: 79.83 kB / 0.6237 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/0.4766, allocations: 49.62 kB / 0.6237 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.4766, allocations: 12 kB / 0.6237 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.4785, allocations: 2.517 MB / 0.6262 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4785, allocations: 8.281 kB / 0.6262 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.4804, allocations: 1.822 MB / 0.628 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.4807, allocations: 154.8 kB / 0.6281 GB, free: 8.516 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.4808, allocations: 15.94 kB / 0.6281 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/0.4814, allocations: 19.98 kB / 0.6282 GB, free: 8.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.4815, allocations: 39.89 kB / 0.6282 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.4816, allocations: 15.98 kB / 0.6282 GB, free: 8.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001668/0.4832, allocations: 1.295 MB / 0.6295 GB, free: 7.141 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4832, allocations: 0 / 0.6295 GB, free: 7.141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002018/0.4853, allocations: 0.7464 MB / 0.6302 GB, free: 6.391 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (boundary_fore.rear.n_flow,terminalInflow.u,terminalOutflow.u,boundary_fore2.rear.n_flow,terminalInflow1.u,terminalOutflow1.u,solution.temperature) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003548/0.4856, allocations: 224.9 kB / 0.6304 GB, free: 6.164 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.4873, allocations: 1.047 MB / 0.6314 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4873, allocations: 0 / 0.6314 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.488, allocations: 0.4976 MB / 0.6319 GB, free: 4.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.4899, allocations: 333.8 kB / 0.6322 GB, free: 4.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/0.4979, allocations: 5.193 MB / 0.6373 GB, free: 14.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.4997, allocations: 1.457 MB / 0.6387 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005306/0.5002, allocations: 155.4 kB / 0.6389 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.5004, allocations: 75.42 kB / 0.639 GB, free: 13.26 MB / 494.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5004, allocations: 0 / 0.639 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Templates: time 0.03959/0.54, allocations: 22.84 MB / 0.6613 GB, free: 6.68 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_master_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.089761944997008] Failed to read output from testmodel.py, exit status != 0: 0.5484515970019856 0.562345672 0.14793244800000002 Calling exit ...