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.001538/0.001538, allocations: 93.06 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.001759/0.001759, allocations: 169 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 0.9444/0.9444, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.103/0.103, allocations: 17.38 MB / 277.3 MB, free: 11.66 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.724e-06/1.724e-06, allocations: 0 / 353.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.03e-05, allocations: 2.312 kB / 353.4 MB, free: 9.992 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.03791/0.03794, allocations: 37.36 MB / 390.8 MB, free: 4.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009407/0.04735, allocations: 6.023 MB / 396.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.04956, allocations: 43.75 kB / 396.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002913/0.05247, allocations: 1.257 MB / 398.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.05472, allocations: 1.015 MB / 399.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.05569, allocations: 438.5 kB / 399.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.05851, allocations: 2.754 MB / 402.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.05953, allocations: 0.9841 MB / 403.3 MB, free: 8.094 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.06118, allocations: 1.692 MB / 405 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009615/0.06214, allocations: 0.8684 MB / 405.9 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.06254, allocations: 284 kB / 406.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.06395, allocations: 0.7566 MB / 406.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004761/0.06443, allocations: 0.829 MB / 407.7 MB, free: 3.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.06563, allocations: 1.044 MB / 408.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.147/0.2126, allocations: 3.547 MB / 412.3 MB, free: 43.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2126, allocations: 0 / 412.3 MB, free: 43.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2126, allocations: 0 / 412.3 MB, free: 43.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002182/0.2129, allocations: 1.25 kB / 412.3 MB, free: 43.45 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.006337/0.2192, allocations: 4.078 MB / 416.4 MB, free: 41.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.2193, allocations: 11.62 kB / 416.4 MB, free: 41.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.2207, allocations: 0.8493 MB / 417.2 MB, free: 41.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.2228, allocations: 1.387 MB / 418.6 MB, free: 40.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.2229, allocations: 240.8 kB / 418.9 MB, free: 40.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.2232, allocations: 320.1 kB / 419.2 MB, free: 40.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/0.228, allocations: 3.449 MB / 422.6 MB, free: 39.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.452e-05/0.2281, allocations: 21.47 kB / 422.6 MB, free: 39.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.2283, allocations: 148.2 kB / 422.8 MB, free: 39.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003117/0.2286, allocations: 346 kB / 423.1 MB, free: 39.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.2311, allocations: 1.387 MB / 424.5 MB, free: 38.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.2433, allocations: 24.3 MB / 448.8 MB, free: 18.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.2438, allocations: 401.9 kB / 449.2 MB, free: 17.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.2439, allocations: 139.1 kB / 449.3 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000206/0.2442, allocations: 72.64 kB / 449.4 MB, free: 17.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2442, allocations: 47.8 kB / 449.5 MB, free: 17.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/0.2442, allocations: 0 / 449.5 MB, free: 17.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001097/0.2453, allocations: 0.4968 MB / 450 MB, free: 17.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2453, allocations: 292.7 kB / 450.2 MB, free: 17.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.2472, allocations: 1.569 MB / 451.8 MB, free: 16.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.2472, allocations: 34.23 kB / 451.8 MB, free: 16.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.2482, allocations: 1.918 MB / 453.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2483, allocations: 109.4 kB / 453.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002544/0.2486, allocations: 172.2 kB / 454 MB, free: 14.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.2487, allocations: 0.5002 MB / 454.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.2489, allocations: 80.12 kB / 454.6 MB, free: 13.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.2494, allocations: 0.6403 MB / 455.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.25, allocations: 0.7905 MB / 456.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.25, allocations: 3.812 kB / 456.1 MB, free: 12.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009267/0.2509, allocations: 0.7714 MB / 456.8 MB, free: 12.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.2509, allocations: 14.55 kB / 456.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.2509, allocations: 16.97 kB / 456.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.2511, allocations: 63.55 kB / 456.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2514, allocations: 189.2 kB / 457.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009877/0.2524, allocations: 3.481 MB / 460.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.2529, allocations: 97.7 kB / 460.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.2529, allocations: 60 kB / 460.7 MB, free: 8.125 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.000471/0.2534, allocations: 216.7 kB / 461 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00021/0.2536, allocations: 177.5 kB / 461.1 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.2542, allocations: 0.5071 MB / 461.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2542, allocations: 8 kB / 461.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.2542, allocations: 4 kB / 461.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2542, allocations: 0 / 461.6 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.2561, allocations: 1.84 MB / 463.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.2561, allocations: 6.625 kB / 463.5 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.2563, allocations: 67.81 kB / 463.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.2564, allocations: 50.06 kB / 463.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.2564, allocations: 15.98 kB / 463.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007483/0.2572, allocations: 3.46 MB / 467.1 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2572, allocations: 6.688 kB / 467.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006779/0.2579, allocations: 1.633 MB / 468.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.258, allocations: 158.8 kB / 468.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.2581, allocations: 8 kB / 468.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.2584, allocations: 12 kB / 468.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.2585, allocations: 46.38 kB / 468.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2585, allocations: 12 kB / 469 MB, free: 15.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009177/0.2594, allocations: 0.9764 MB / 469.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2594, allocations: 0 / 469.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001691/0.2611, allocations: 0.7542 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.0003246/0.2615, allocations: 222.4 kB / 470.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000722/0.2622, allocations: 0.6477 MB / 471.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2622, allocations: 0 / 471.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.2624, allocations: 445.6 kB / 472 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.2637, allocations: 345 kB / 472.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006673/0.2704, allocations: 4.732 MB / 477.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.271, allocations: 0.5744 MB / 477.6 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004686/0.2714, allocations: 146.4 kB / 477.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.2716, allocations: 76.48 kB / 477.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of SimCode: time 2.364e-06/0.2716, allocations: 0 / 477.8 MB, free: 6.945 MB / 346.7 MB Notification: Performance of Templates: time 0.02648/0.2981, allocations: 18.5 MB / 496.3 MB, free: 5.707 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: 3.606341983191669]