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.001897/0.001897, allocations: 85.48 kB / 19.44 MB, free: 344 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.00205/0.00205, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.632/1.632, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.1484/0.1484, allocations: 17.44 MB / 277 MB, free: 11.6 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.076e-05, allocations: 2.312 kB / 352.8 MB, free: 10.2 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:621:5-621: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:621:5-621: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.05101/0.05104, allocations: 35.46 MB / 388.3 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01398/0.06503, allocations: 6.362 MB / 394.6 MB, free: 468 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002696/0.06772, allocations: 51.69 kB / 394.7 MB, free: 416 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004857/0.07258, allocations: 1.32 MB / 396 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.07701, allocations: 1.244 MB / 397.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.0788, allocations: 474.4 kB / 397.7 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006324/0.08512, allocations: 3.024 MB / 400.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.0872, allocations: 1 MB / 401.7 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003072/0.09027, allocations: 1.84 MB / 403.6 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.09222, allocations: 0.9697 MB / 404.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005058/0.09272, allocations: 284 kB / 404.8 MB, free: 6.148 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.09553, allocations: 0.8539 MB / 405.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001085/0.09661, allocations: 0.9148 MB / 406.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.09888, allocations: 1.122 MB / 407.7 MB, free: 3.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1709/0.2698, allocations: 5.105 MB / 412.8 MB, free: 42.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2698, allocations: 0 / 412.8 MB, free: 42.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2698, allocations: 1.156 kB / 412.8 MB, free: 42.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001584/0.2699, allocations: 0 / 412.8 MB, free: 42.17 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.006354/0.2763, allocations: 4.449 MB / 417.3 MB, free: 40.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2763, allocations: 9.625 kB / 417.3 MB, free: 40.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.278, allocations: 0.8951 MB / 418.2 MB, free: 40.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/0.2804, allocations: 1.415 MB / 419.6 MB, free: 39.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.2806, allocations: 241.3 kB / 419.8 MB, free: 39.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003876/0.2809, allocations: 318.6 kB / 420.1 MB, free: 39.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006059/0.287, allocations: 4.194 MB / 424.3 MB, free: 37.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/0.2871, allocations: 19.94 kB / 424.3 MB, free: 37.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.2874, allocations: 154.2 kB / 424.5 MB, free: 37.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002896/0.2876, allocations: 344.7 kB / 424.8 MB, free: 37.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.2912, allocations: 1.877 MB / 426.7 MB, free: 36.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01951/0.3107, allocations: 25.96 MB / 452.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.3115, allocations: 497.2 kB / 453.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.3118, allocations: 222.5 kB / 453.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.3122, allocations: 81.23 kB / 453.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3122, allocations: 44.8 kB / 453.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.535e-06/0.3122, allocations: 0 / 453.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002351/0.3146, allocations: 0.7636 MB / 454.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.3147, allocations: 288 kB / 454.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.3173, allocations: 1.941 MB / 456.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.618e-05/0.3174, allocations: 37.7 kB / 456.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.3185, allocations: 1.996 MB / 458.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.3186, allocations: 131 kB / 458.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003151/0.319, allocations: 217.9 kB / 458.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3191, allocations: 0.5316 MB / 459.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.3195, allocations: 189.9 kB / 459.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007085/0.3202, allocations: 0.8461 MB / 460.4 MB, free: 7.293 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.3212, allocations: 1.105 MB / 461.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.3213, allocations: 10.66 kB / 461.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001755/0.323, allocations: 1.049 MB / 462.6 MB, free: 5.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.323, allocations: 15.12 kB / 462.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.3231, allocations: 16 kB / 462.6 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002616/0.3233, allocations: 74 kB / 462.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.3238, allocations: 203.1 kB / 462.9 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.3253, allocations: 3.599 MB / 466.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008812/0.3262, allocations: 102 kB / 466.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/0.3263, allocations: 64 kB / 466.6 MB, free: 0.7617 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (94): * Single equations (assignments): 92 * 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.001105/0.3274, allocations: 474 kB / 467.1 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005337/0.3279, allocations: 186.9 kB / 467.3 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.3296, allocations: 0.6148 MB / 467.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.3296, allocations: 4 kB / 467.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3296, allocations: 4 kB / 467.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.3296, allocations: 4 kB / 467.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.3357, allocations: 2.38 MB / 470.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.3357, allocations: 2.625 kB / 470.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.3361, allocations: 75.61 kB / 470.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.3364, allocations: 53.95 kB / 470.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.3365, allocations: 12 kB / 470.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/0.3397, allocations: 3.572 MB / 474 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.3397, allocations: 7.938 kB / 474 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00241/0.3421, allocations: 1.821 MB / 475.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006931/0.3428, allocations: 165.3 kB / 476 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004089/0.3432, allocations: 17.64 kB / 476 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008664/0.3441, allocations: 10.72 kB / 476 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.3442, allocations: 39.78 kB / 476.1 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.3442, allocations: 16 kB / 476.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002244/0.3465, allocations: 1.194 MB / 477.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3465, allocations: 0 / 477.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00322/0.3497, allocations: 0.7816 MB / 478.1 MB, free: 5.055 MB / 346.7 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.0007447/0.3504, allocations: 228.1 kB / 478.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.3526, allocations: 0.8573 MB / 479.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.3526, allocations: 0 / 479.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008804/0.3535, allocations: 0.4928 MB / 479.6 MB, free: 3.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003445/0.357, allocations: 350.5 kB / 480 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/0.3687, allocations: 4.862 MB / 484.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/0.3709, allocations: 1.425 MB / 486.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007157/0.3716, allocations: 152.4 kB / 486.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.3718, allocations: 76.48 kB / 486.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of SimCode: time 2.736e-06/0.3718, allocations: 2.656 kB / 486.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Templates: time 0.04062/0.4125, allocations: 18.39 MB / 0.493 GB, free: 11.51 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.676078527001664]