Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001772/0.001772, allocations: 93.47 kB / 19.44 MB, free: 336 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.002022/0.002022, allocations: 169.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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1704/0.1704, allocations: 17.36 MB / 276.9 MB, free: 11.71 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 352.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.441e-05, allocations: 3.438 kB / 352.7 MB, free: 10.34 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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.05118/0.0512, allocations: 34.96 MB / 387.7 MB, free: 7.484 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.06298, allocations: 5.987 MB / 393.6 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002694/0.06567, allocations: 43.75 kB / 393.7 MB, free: 1.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.06967, allocations: 1.257 MB / 394.9 MB, free: 168 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003353/0.07303, allocations: 1.015 MB / 396 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.07438, allocations: 438.6 kB / 396.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004561/0.07895, allocations: 2.731 MB / 399.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.08085, allocations: 0.9841 MB / 400.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/0.08433, allocations: 1.696 MB / 401.8 MB, free: 9.203 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.08582, allocations: 0.8645 MB / 402.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004541/0.08627, allocations: 284 kB / 402.9 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00243/0.0887, allocations: 0.7488 MB / 403.7 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000824/0.08952, allocations: 0.8328 MB / 404.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.09116, allocations: 1.044 MB / 405.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006348/0.09751, allocations: 4.945 MB / 410.5 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.09752, allocations: 4 kB / 410.5 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09752, allocations: 0 / 410.5 MB, free: 472 kB / 330.7 MB Notification: Performance of Transformations before backend: time 8.13e-05/0.0976, allocations: 0 / 410.5 MB, free: 472 kB / 330.7 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.1712/0.2688, allocations: 4.334 MB / 414.8 MB, free: 61.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.2688, allocations: 9 kB / 414.9 MB, free: 61.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.2707, allocations: 0.8476 MB / 415.7 MB, free: 61.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.2736, allocations: 1.402 MB / 417.1 MB, free: 60.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.2738, allocations: 247.4 kB / 417.3 MB, free: 60.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/0.2743, allocations: 318.9 kB / 417.7 MB, free: 60.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007226/0.2815, allocations: 4.132 MB / 421.8 MB, free: 57.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.595e-05/0.2816, allocations: 19.62 kB / 421.8 MB, free: 57.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.2818, allocations: 146.4 kB / 422 MB, free: 57.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004436/0.2823, allocations: 343.8 kB / 422.3 MB, free: 57.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004235/0.2865, allocations: 1.861 MB / 424.1 MB, free: 56.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01927/0.3058, allocations: 25.52 MB / 449.7 MB, free: 31.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.3065, allocations: 494 kB / 450.1 MB, free: 31.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3069, allocations: 218.3 kB / 450.4 MB, free: 30.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003248/0.3072, allocations: 75.58 kB / 450.4 MB, free: 30.76 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3072, allocations: 53.05 kB / 450.5 MB, free: 30.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.3072, allocations: 0 / 450.5 MB, free: 30.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001851/0.3091, allocations: 0.7502 MB / 451.2 MB, free: 29.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3091, allocations: 294.7 kB / 451.5 MB, free: 29.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.3109, allocations: 1.91 MB / 453.4 MB, free: 27.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.311, allocations: 33.7 kB / 453.5 MB, free: 27.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.3118, allocations: 1.98 MB / 455.4 MB, free: 25.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.821e-05/0.3119, allocations: 127.1 kB / 455.6 MB, free: 25.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.3121, allocations: 199.5 kB / 455.8 MB, free: 25.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.3122, allocations: 0.5238 MB / 456.3 MB, free: 24.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.3126, allocations: 189.9 kB / 456.5 MB, free: 24.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.3131, allocations: 0.7699 MB / 457.2 MB, free: 23.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.314, allocations: 1.022 MB / 458.3 MB, free: 22.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.314, allocations: 4 kB / 458.3 MB, free: 22.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001428/0.3155, allocations: 0.9906 MB / 459.3 MB, free: 21.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3155, allocations: 18.17 kB / 459.3 MB, free: 21.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.3155, allocations: 12 kB / 459.3 MB, free: 21.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.3158, allocations: 65.95 kB / 459.4 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.3162, allocations: 187.7 kB / 459.5 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.3177, allocations: 3.589 MB / 463.1 MB, free: 17.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/0.3183, allocations: 100.7 kB / 463.2 MB, free: 17.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-05/0.3184, allocations: 63.94 kB / 463.3 MB, free: 17.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (86): * Single equations (assignments): 84 * 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.0008819/0.3193, allocations: 462.9 kB / 463.7 MB, free: 16.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.3196, allocations: 167 kB / 463.9 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.3208, allocations: 0.6163 MB / 464.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3208, allocations: 6.656 kB / 464.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3208, allocations: 6.688 kB / 464.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3208, allocations: 4 kB / 464.5 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002968/0.3238, allocations: 2.394 MB / 466.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3238, allocations: 0 / 466.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.3241, allocations: 71.91 kB / 467 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/0.3242, allocations: 50.03 kB / 467.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.3242, allocations: 19.98 kB / 467.1 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.3254, allocations: 3.572 MB / 470.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3254, allocations: 7.828 kB / 470.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3266, allocations: 1.813 MB / 472.5 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.3269, allocations: 154.8 kB / 472.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.327, allocations: 16 kB / 472.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.3276, allocations: 15.98 kB / 472.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.3277, allocations: 35.88 kB / 472.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.3277, allocations: 16 kB / 472.7 MB, free: 7.328 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.3289, allocations: 1.184 MB / 473.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3289, allocations: 0 / 473.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001958/0.3308, allocations: 0.7426 MB / 474.6 MB, free: 5.41 MB / 330.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.0003187/0.3311, allocations: 219.6 kB / 474.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001174/0.3323, allocations: 0.84 MB / 475.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3323, allocations: 0 / 475.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004854/0.3328, allocations: 0.4892 MB / 476.2 MB, free: 3.828 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.3349, allocations: 340.9 kB / 476.5 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.3423, allocations: 4.826 MB / 481.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.3443, allocations: 1.413 MB / 482.7 MB, free: 13.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006237/0.3449, allocations: 149.3 kB / 482.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.3451, allocations: 72.5 kB / 483 MB, free: 13.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.3451, allocations: 0 / 483 MB, free: 13.18 MB / 346.7 MB Notification: Performance of Templates: time 0.04002/0.3851, allocations: 18.4 MB / 0.4896 GB, free: 11.84 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.542861858033575]