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.001089/0.001089, allocations: 93.06 kB / 19.65 MB, free: 280 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.00101/0.00101, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.003/1.003, allocations: 177.2 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.1136/0.1136, allocations: 17.38 MB / 277.3 MB, free: 11.64 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 3.035e-06/3.035e-06, allocations: 4 kB / 353.4 MB, free: 9.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.702e-05, allocations: 2.312 kB / 353.4 MB, free: 9.961 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.0409/0.04093, allocations: 37.35 MB / 390.8 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.05164, allocations: 6.019 MB / 396.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/0.05455, allocations: 43.75 kB / 396.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.05894, allocations: 1.261 MB / 398.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.06252, allocations: 1.019 MB / 399.1 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.06398, allocations: 438.5 kB / 399.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004446/0.06843, allocations: 2.751 MB / 402.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.06977, allocations: 0.9841 MB / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.072, allocations: 1.692 MB / 405 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.07365, allocations: 0.8684 MB / 405.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005024/0.07415, allocations: 280 kB / 406.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.07578, allocations: 0.7566 MB / 406.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.07626, allocations: 0.8367 MB / 407.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.07747, allocations: 1.04 MB / 408.8 MB, free: 2.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2207/0.2982, allocations: 3.543 MB / 412.3 MB, free: 43.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2982, allocations: 0.6562 kB / 412.3 MB, free: 43.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2982, allocations: 1.281 kB / 412.3 MB, free: 43.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.2984, allocations: 0 / 412.3 MB, free: 43.48 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: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.005785/0.3041, allocations: 4.079 MB / 416.4 MB, free: 41.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.3042, allocations: 12.8 kB / 416.4 MB, free: 41.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.3057, allocations: 0.8517 MB / 417.2 MB, free: 41.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.3077, allocations: 1.385 MB / 418.6 MB, free: 40.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002/0.3079, allocations: 243.3 kB / 418.9 MB, free: 40.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003217/0.3082, allocations: 318.2 kB / 419.2 MB, free: 40.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.3124, allocations: 3.446 MB / 422.6 MB, free: 39.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.151e-05/0.3125, allocations: 22.41 kB / 422.7 MB, free: 39.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.3127, allocations: 148.9 kB / 422.8 MB, free: 39.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004051/0.3131, allocations: 346.7 kB / 423.1 MB, free: 39.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.3153, allocations: 1.389 MB / 424.5 MB, free: 38.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.3276, allocations: 24.3 MB / 448.8 MB, free: 18.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.3281, allocations: 400.5 kB / 449.2 MB, free: 17.85 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.3283, allocations: 131.8 kB / 449.3 MB, free: 17.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.3285, allocations: 80.89 kB / 449.4 MB, free: 17.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.3285, allocations: 48.05 kB / 449.5 MB, free: 17.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.866e-06/0.3285, allocations: 0 / 449.5 MB, free: 17.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001078/0.3296, allocations: 0.492 MB / 450 MB, free: 17.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.3297, allocations: 296 kB / 450.3 MB, free: 17.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.3312, allocations: 1.566 MB / 451.8 MB, free: 16.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3312, allocations: 31.23 kB / 451.8 MB, free: 16.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007898/0.332, allocations: 1.923 MB / 453.8 MB, free: 14.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.3321, allocations: 116.8 kB / 453.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.3322, allocations: 167 kB / 454 MB, free: 14.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.156e-05/0.3323, allocations: 0.5034 MB / 454.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3325, allocations: 80.94 kB / 454.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.3328, allocations: 0.6347 MB / 455.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.3334, allocations: 0.7983 MB / 456.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.3334, allocations: 3.875 kB / 456.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008833/0.3343, allocations: 0.7713 MB / 456.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.3343, allocations: 9.5 kB / 456.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.3343, allocations: 16.14 kB / 456.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002062/0.3345, allocations: 65.14 kB / 456.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.3348, allocations: 189.4 kB / 457.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.3359, allocations: 3.486 MB / 460.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.3363, allocations: 91.39 kB / 460.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/0.3363, allocations: 63.98 kB / 460.8 MB, free: 8.113 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.0003101/0.3367, allocations: 210.5 kB / 461 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.3368, allocations: 178.9 kB / 461.1 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/0.3375, allocations: 0.5153 MB / 461.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3375, allocations: 4 kB / 461.7 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3375, allocations: 4 kB / 461.7 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.3375, allocations: 4 kB / 461.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.3392, allocations: 1.831 MB / 463.5 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3392, allocations: 4 kB / 463.5 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.3394, allocations: 70.47 kB / 463.6 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.3395, allocations: 50.03 kB / 463.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.3395, allocations: 15.98 kB / 463.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008536/0.3404, allocations: 3.467 MB / 467.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3404, allocations: 4 kB / 467.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.3411, allocations: 1.638 MB / 468.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.3413, allocations: 150.8 kB / 468.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/0.3413, allocations: 12 kB / 468.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.3417, allocations: 15.98 kB / 468.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.3417, allocations: 35.89 kB / 468.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.3418, allocations: 19.98 kB / 469 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000924/0.3427, allocations: 0.9666 MB / 469.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3427, allocations: 2.688 kB / 469.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00195/0.3446, allocations: 0.7503 MB / 470.7 MB, free: 13.93 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.0004377/0.3451, allocations: 219.1 kB / 470.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008114/0.3459, allocations: 0.6528 MB / 471.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3459, allocations: 0 / 471.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.3462, allocations: 450.5 kB / 472 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.3476, allocations: 347.9 kB / 472.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006131/0.3537, allocations: 4.724 MB / 477.1 MB, free: 7.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004913/0.3542, allocations: 0.5765 MB / 477.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.3546, allocations: 145.3 kB / 477.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3547, allocations: 79.14 kB / 477.9 MB, free: 6.934 MB / 346.7 MB Notification: Performance of SimCode: time 1.823e-06/0.3547, allocations: 0 / 477.9 MB, free: 6.934 MB / 346.7 MB Notification: Performance of Templates: time 0.03091/0.3856, allocations: 20.62 MB / 498.5 MB, free: 3.598 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: 4.043899701908231]