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.001079/0.001079, allocations: 92.22 kB / 19.65 MB, free: 276 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.001225/0.001225, allocations: 173 kB / 23.02 MB, free: 1.547 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.9384/0.9384, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.09818/0.09818, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.603e-06/1.603e-06, allocations: 0 / 353.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.701e-05, allocations: 10.19 kB / 353.6 MB, free: 9.852 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.03507/0.0351, allocations: 37.86 MB / 391.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.04554, allocations: 6.393 MB / 397.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002378/0.04792, allocations: 51.69 kB / 397.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.05118, allocations: 1.32 MB / 399.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.0545, allocations: 1.248 MB / 400.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.05576, allocations: 470.4 kB / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004243/0.06001, allocations: 3.039 MB / 403.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.06133, allocations: 1 MB / 404.9 MB, free: 6.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.06372, allocations: 1.836 MB / 406.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.06517, allocations: 0.9736 MB / 407.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004736/0.06565, allocations: 284 kB / 408 MB, free: 3.348 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.06757, allocations: 0.8499 MB / 408.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.06817, allocations: 0.9187 MB / 409.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001818/0.06999, allocations: 1.118 MB / 410.9 MB, free: 464 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1628/0.2328, allocations: 3.712 MB / 414.6 MB, free: 39.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.2328, allocations: 3.375 kB / 414.6 MB, free: 39.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2328, allocations: 0 / 414.6 MB, free: 39.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001658/0.233, allocations: 1.344 kB / 414.6 MB, free: 39.8 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.006833/0.2398, allocations: 4.186 MB / 418.8 MB, free: 37.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.2399, allocations: 9.156 kB / 418.8 MB, free: 37.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/0.2414, allocations: 0.8924 MB / 419.7 MB, free: 37.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.2436, allocations: 1.406 MB / 421.1 MB, free: 37.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/0.2438, allocations: 244.4 kB / 421.3 MB, free: 37.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003121/0.2441, allocations: 323.7 kB / 421.7 MB, free: 37.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004499/0.2486, allocations: 3.5 MB / 425.2 MB, free: 34.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.409e-05/0.2487, allocations: 23.34 kB / 425.2 MB, free: 34.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.2489, allocations: 150.4 kB / 425.3 MB, free: 34.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/0.2491, allocations: 345.5 kB / 425.7 MB, free: 34.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.2514, allocations: 1.409 MB / 427.1 MB, free: 34.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.2656, allocations: 24.74 MB / 451.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.2662, allocations: 411.1 kB / 452.2 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.2664, allocations: 129.8 kB / 452.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.2666, allocations: 77 kB / 452.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.2666, allocations: 54.14 kB / 452.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.327e-06/0.2666, allocations: 0 / 452.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001276/0.2679, allocations: 0.4983 MB / 453 MB, free: 12.72 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.268, allocations: 296.4 kB / 453.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.2694, allocations: 1.589 MB / 454.8 MB, free: 11.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2694, allocations: 33.05 kB / 454.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007296/0.2701, allocations: 1.932 MB / 456.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.2702, allocations: 123.5 kB / 456.9 MB, free: 9.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.2704, allocations: 178.8 kB / 457.1 MB, free: 9.559 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.2705, allocations: 0.5072 MB / 457.6 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.2707, allocations: 90.39 kB / 457.7 MB, free: 9.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.271, allocations: 0.7011 MB / 458.4 MB, free: 8.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.2717, allocations: 0.8673 MB / 459.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.2717, allocations: 7.312 kB / 459.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001024/0.2727, allocations: 0.8278 MB / 460.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.2727, allocations: 11.62 kB / 460.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.2727, allocations: 14.84 kB / 460.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.273, allocations: 61.61 kB / 460.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/0.2733, allocations: 201.3 kB / 460.4 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.2747, allocations: 3.496 MB / 463.9 MB, free: 3.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.2753, allocations: 105.8 kB / 464 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.2753, allocations: 68.33 kB / 464 MB, free: 3.215 MB / 330.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.0008704/0.2762, allocations: 214.7 kB / 464.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002565/0.2765, allocations: 189.4 kB / 464.4 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.2772, allocations: 0.5161 MB / 465 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2772, allocations: 10.66 kB / 465 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2772, allocations: 6.625 kB / 465 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2772, allocations: 3.984 kB / 465 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.2794, allocations: 1.835 MB / 466.8 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2795, allocations: 0 / 466.8 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.2796, allocations: 71.81 kB / 466.9 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.2797, allocations: 55.84 kB / 466.9 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2798, allocations: 11.98 kB / 467 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/0.2813, allocations: 3.468 MB / 470.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2813, allocations: 11.59 kB / 470.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2823, allocations: 1.635 MB / 472.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.2826, allocations: 162.8 kB / 472.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.42e-05/0.2826, allocations: 10.69 kB / 472.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.283, allocations: 12 kB / 472.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/0.2831, allocations: 39.69 kB / 472.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.2831, allocations: 12 kB / 472.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001019/0.2841, allocations: 0.9868 MB / 473.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2841, allocations: 0 / 473.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002576/0.2867, allocations: 0.7803 MB / 474.1 MB, free: 8.992 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.0004221/0.2871, allocations: 230 kB / 474.3 MB, free: 8.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.288, allocations: 0.6677 MB / 475 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.288, allocations: 2.031 kB / 475 MB, free: 8.148 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.2883, allocations: 449.4 kB / 475.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.2897, allocations: 354.9 kB / 475.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007534/0.2972, allocations: 4.767 MB / 480.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.2978, allocations: 0.5828 MB / 481.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005498/0.2983, allocations: 155 kB / 481.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.2985, allocations: 76.48 kB / 481.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2985, allocations: 2.656 kB / 481.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of Templates: time 0.03355/0.332, allocations: 20.63 MB / 0.4902 GB, free: 14.55 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: 3.576000254135579]