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.0009222/0.0009222, allocations: 92.2 kB / 20.19 MB, free: 4.367 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.001482/0.001482, allocations: 173 kB / 23.5 MB, free: 1.059 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.9616/0.9616, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.09656/0.09656, allocations: 17.38 MB / 277.7 MB, free: 11.72 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.533e-06/1.533e-06, allocations: 0 / 353.4 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.665e-05, allocations: 2.312 kB / 353.4 MB, free: 10.31 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.04124/0.04127, allocations: 37.21 MB / 390.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.05213, allocations: 5.983 MB / 396.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.05406, allocations: 43.75 kB / 396.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.057, allocations: 1.261 MB / 397.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.05961, allocations: 1.015 MB / 399 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.06085, allocations: 438.5 kB / 399.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004082/0.06493, allocations: 2.738 MB / 402.1 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.06606, allocations: 0.9841 MB / 403.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.06792, allocations: 1.692 MB / 404.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008817/0.0688, allocations: 0.8684 MB / 405.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.06909, allocations: 284 kB / 405.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.07087, allocations: 0.7566 MB / 406.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007504/0.07162, allocations: 0.8251 MB / 407.5 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009394/0.07256, allocations: 1.044 MB / 408.6 MB, free: 3.145 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.136/0.2086, allocations: 3.546 MB / 412.1 MB, free: 43.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2086, allocations: 3.375 kB / 412.1 MB, free: 43.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2086, allocations: 1.438 kB / 412.1 MB, free: 43.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.2088, allocations: 1.094 kB / 412.1 MB, free: 43.25 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.004466/0.2133, allocations: 4.08 MB / 416.2 MB, free: 41.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2133, allocations: 12.66 kB / 416.2 MB, free: 41.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.2146, allocations: 0.8462 MB / 417.1 MB, free: 41.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.2162, allocations: 1.394 MB / 418.5 MB, free: 40.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.2163, allocations: 237.3 kB / 418.7 MB, free: 40.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.2166, allocations: 315.7 kB / 419 MB, free: 40.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/0.2202, allocations: 3.45 MB / 422.4 MB, free: 39.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-05/0.2203, allocations: 22.06 kB / 422.5 MB, free: 39.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.2205, allocations: 147.1 kB / 422.6 MB, free: 39.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003303/0.2208, allocations: 346 kB / 423 MB, free: 39.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.223, allocations: 1.395 MB / 424.3 MB, free: 38.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.2332, allocations: 24.29 MB / 448.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.2337, allocations: 397.3 kB / 449 MB, free: 17.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.2338, allocations: 135.2 kB / 449.2 MB, free: 17.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.234, allocations: 75.36 kB / 449.2 MB, free: 17.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.2341, allocations: 50.8 kB / 449.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.926e-06/0.2341, allocations: 0 / 449.3 MB, free: 17.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001066/0.2351, allocations: 0.503 MB / 449.8 MB, free: 17.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.2352, allocations: 292 kB / 450.1 MB, free: 17.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.2364, allocations: 1.565 MB / 451.6 MB, free: 16.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.2364, allocations: 31.3 kB / 451.7 MB, free: 16.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006776/0.2371, allocations: 1.918 MB / 453.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.2372, allocations: 117.7 kB / 453.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2374, allocations: 166.5 kB / 453.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.2374, allocations: 0.5027 MB / 454.4 MB, free: 14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.2376, allocations: 82.22 kB / 454.4 MB, free: 13.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.2379, allocations: 0.6393 MB / 455.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005733/0.2385, allocations: 0.7944 MB / 455.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2385, allocations: 3.812 kB / 455.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009251/0.2394, allocations: 0.772 MB / 456.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.2395, allocations: 11.16 kB / 456.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2395, allocations: 15.94 kB / 456.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001944/0.2397, allocations: 53.61 kB / 456.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.24, allocations: 189.6 kB / 456.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009402/0.2409, allocations: 3.492 MB / 460.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.2413, allocations: 94.05 kB / 460.5 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/0.2414, allocations: 67.98 kB / 460.6 MB, free: 8.117 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.0003864/0.2418, allocations: 209.1 kB / 460.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.242, allocations: 178.9 kB / 460.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.2426, allocations: 0.5055 MB / 461.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2426, allocations: 8 kB / 461.5 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2426, allocations: 0 / 461.5 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2426, allocations: 6.656 kB / 461.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.2443, allocations: 1.837 MB / 463.3 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.2443, allocations: 6.078 kB / 463.3 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.2445, allocations: 67.53 kB / 463.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.2446, allocations: 46 kB / 463.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2446, allocations: 19.98 kB / 463.4 MB, free: 5.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007408/0.2454, allocations: 3.46 MB / 466.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2454, allocations: 9.75 kB / 466.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006339/0.246, allocations: 1.63 MB / 468.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.2462, allocations: 154.8 kB / 468.7 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/0.2462, allocations: 12 kB / 468.7 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.2466, allocations: 18.64 kB / 468.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.2467, allocations: 39.36 kB / 468.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.2467, allocations: 15.98 kB / 468.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009211/0.2476, allocations: 0.9706 MB / 469.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2476, allocations: 0 / 469.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001561/0.2492, allocations: 0.7503 MB / 470.5 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.0002992/0.2495, allocations: 225.6 kB / 470.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000747/0.2502, allocations: 0.648 MB / 471.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2502, allocations: 0 / 471.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.2505, allocations: 451.8 kB / 471.8 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.001298/0.2518, allocations: 344.6 kB / 472.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006022/0.2578, allocations: 4.725 MB / 476.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.2583, allocations: 0.577 MB / 477.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004663/0.2588, allocations: 146.6 kB / 477.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.2589, allocations: 76.48 kB / 477.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2589, allocations: 0 / 477.7 MB, free: 6.941 MB / 346.7 MB Notification: Performance of Templates: time 0.0266/0.2855, allocations: 18.51 MB / 496.2 MB, free: 5.691 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.422330646077171]