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.0008576/0.0008576, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001349/0.001349, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.057/1.057, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.102/0.102, allocations: 17.47 MB / 277.7 MB, free: 11.41 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 1.332e-06/1.332e-06, allocations: 0 / 354 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.497e-05, allocations: 2.312 kB / 354 MB, free: 10.62 MB / 330.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.0331/0.03312, allocations: 37.62 MB / 391.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009327/0.04245, allocations: 6.338 MB / 398 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.04391, allocations: 51.69 kB / 398 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.04635, allocations: 1.327 MB / 399.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.04862, allocations: 1.24 MB / 400.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009549/0.04957, allocations: 474.3 kB / 401 MB, free: 11.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002939/0.05251, allocations: 3.047 MB / 404.1 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009772/0.05349, allocations: 0.9962 MB / 405.1 MB, free: 7.469 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.05506, allocations: 1.836 MB / 406.9 MB, free: 5.629 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.0558, allocations: 0.9735 MB / 407.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.05604, allocations: 284 kB / 408.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.05761, allocations: 0.85 MB / 409 MB, free: 3.523 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004327/0.05804, allocations: 0.9187 MB / 409.9 MB, free: 2.602 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007161/0.05876, allocations: 1.118 MB / 411.1 MB, free: 1.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003147/0.0619, allocations: 3.712 MB / 414.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.06191, allocations: 0 / 414.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.06191, allocations: 0 / 414.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.897e-05/0.06198, allocations: 0 / 414.8 MB, free: 13.75 MB / 394.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.004752/0.06673, allocations: 4.234 MB / 419 MB, free: 9.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.06677, allocations: 8.031 kB / 419 MB, free: 9.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.06796, allocations: 0.8886 MB / 419.9 MB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.06969, allocations: 1.376 MB / 421.3 MB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.06986, allocations: 242.9 kB / 421.5 MB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/0.07019, allocations: 316.4 kB / 421.8 MB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/0.07414, allocations: 3.317 MB / 425.1 MB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.618e-05/0.07422, allocations: 19.81 kB / 425.2 MB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.07444, allocations: 143.9 kB / 425.3 MB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003333/0.07477, allocations: 341.8 kB / 425.6 MB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.0767, allocations: 1.161 MB / 426.8 MB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1734/0.2501, allocations: 24.79 MB / 451.6 MB, free: 80.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.2505, allocations: 395.3 kB / 452 MB, free: 80.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2506, allocations: 133.8 kB / 452.1 MB, free: 80.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002083/0.2508, allocations: 77.67 kB / 452.2 MB, free: 80.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.2508, allocations: 51.08 kB / 452.2 MB, free: 80.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.335e-06/0.2508, allocations: 1.312 kB / 452.2 MB, free: 80.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009713/0.2518, allocations: 499.8 kB / 452.7 MB, free: 80.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2519, allocations: 292.4 kB / 453 MB, free: 79.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.2528, allocations: 1.571 MB / 454.6 MB, free: 79.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.2528, allocations: 32.86 kB / 454.6 MB, free: 79.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/0.2535, allocations: 1.948 MB / 456.6 MB, free: 78.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.2535, allocations: 118.4 kB / 456.7 MB, free: 78.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.2537, allocations: 183.5 kB / 456.8 MB, free: 78.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.2537, allocations: 0.5094 MB / 457.4 MB, free: 78.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.2538, allocations: 66 kB / 457.4 MB, free: 78.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.2541, allocations: 0.6916 MB / 458.1 MB, free: 77.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004758/0.2546, allocations: 0.8466 MB / 459 MB, free: 76.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.2546, allocations: 3.281 kB / 459 MB, free: 76.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0006971/0.2553, allocations: 0.7925 MB / 459.8 MB, free: 76.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2553, allocations: 9.594 kB / 459.8 MB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.2553, allocations: 15.81 kB / 459.8 MB, free: 76.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.2554, allocations: 64.78 kB / 459.8 MB, free: 76.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.2557, allocations: 199.2 kB / 460 MB, free: 76.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000965/0.2567, allocations: 3.455 MB / 463.5 MB, free: 73.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.2571, allocations: 105.4 kB / 463.6 MB, free: 73.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.795e-05/0.2571, allocations: 55.47 kB / 463.6 MB, free: 73.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (93): * Single equations (assignments): 91 * 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.0003366/0.2575, allocations: 225.6 kB / 463.9 MB, free: 72.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.2577, allocations: 188.7 kB / 464.1 MB, free: 72.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005585/0.2582, allocations: 0.4988 MB / 464.6 MB, free: 72.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2582, allocations: 8.969 kB / 464.6 MB, free: 72.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2582, allocations: 3.125 kB / 464.6 MB, free: 72.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2582, allocations: 10.34 kB / 464.6 MB, free: 72.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.2595, allocations: 1.189 MB / 465.8 MB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.2595, allocations: 2.781 kB / 465.8 MB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.2596, allocations: 70.62 kB / 465.8 MB, free: 72.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.561e-05/0.2597, allocations: 47.05 kB / 465.9 MB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.2597, allocations: 14.56 kB / 465.9 MB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007361/0.2605, allocations: 3.434 MB / 469.3 MB, free: 69.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2605, allocations: 3.25 kB / 469.3 MB, free: 69.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005774/0.2611, allocations: 1.632 MB / 471 MB, free: 67.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.2612, allocations: 153.4 kB / 471.1 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.2612, allocations: 9.281 kB / 471.1 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.2616, allocations: 16.22 kB / 471.1 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.2616, allocations: 38.05 kB / 471.2 MB, free: 67.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2616, allocations: 16.52 kB / 471.2 MB, free: 67.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005349/0.2622, allocations: 0.8849 MB / 472.1 MB, free: 67.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2622, allocations: 0 / 472.1 MB, free: 67.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001325/0.2635, allocations: 0.7888 MB / 472.9 MB, free: 67.34 MB / 410.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.0002152/0.2637, allocations: 235.1 kB / 473.1 MB, free: 67.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.2641, allocations: 0.6472 MB / 473.7 MB, free: 66.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.2641, allocations: 0 / 473.7 MB, free: 66.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.2643, allocations: 443.4 kB / 474.2 MB, free: 66.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.2655, allocations: 340.6 kB / 474.5 MB, free: 66.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.2698, allocations: 4.772 MB / 479.3 MB, free: 64.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.2702, allocations: 0.5787 MB / 479.9 MB, free: 64.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002969/0.2705, allocations: 152.2 kB / 480 MB, free: 64.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/0.2709, allocations: 347.2 kB / 480.3 MB, free: 64.08 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2709, allocations: 0 / 480.3 MB, free: 64.08 MB / 410.7 MB Notification: Performance of Templates: time 0.03099/0.3019, allocations: 20.69 MB / 0.4893 GB, free: 62.3 MB / 410.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: 3.6699375864118338]