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.001454/0.001454, 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.001727/0.001727, allocations: 165 kB / 23.02 MB, free: 1.555 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.9992/0.9992, 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.1018/0.1018, 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 2.013e-06/2.013e-06, allocations: 0 / 353.5 MB, free: 9.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.339e-05, allocations: 6.25 kB / 353.5 MB, free: 9.848 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.03571/0.03575, allocations: 37.86 MB / 391.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009719/0.04547, allocations: 6.393 MB / 397.8 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.04676, allocations: 47.69 kB / 397.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.04912, allocations: 1.323 MB / 399.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.05078, allocations: 1.244 MB / 400.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.05149, allocations: 478.3 kB / 400.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.05379, allocations: 3.031 MB / 403.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000904/0.05469, allocations: 0.9962 MB / 404.9 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.05584, allocations: 1.84 MB / 406.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.0566, allocations: 0.9774 MB / 407.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.05682, allocations: 288 kB / 408 MB, free: 3.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.05791, allocations: 0.8461 MB / 408.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007017/0.05861, allocations: 0.9187 MB / 409.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007209/0.05933, allocations: 1.122 MB / 410.9 MB, free: 456 kB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.141/0.2003, allocations: 3.701 MB / 414.6 MB, free: 39.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2003, allocations: 0.75 kB / 414.6 MB, free: 39.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2003, allocations: 1.781 kB / 414.6 MB, free: 39.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.608e-05/0.2004, allocations: 0 / 414.6 MB, free: 39.75 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.003905/0.2043, allocations: 4.19 MB / 418.8 MB, free: 37.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2043, allocations: 9.422 kB / 418.8 MB, free: 37.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008687/0.2052, allocations: 0.8904 MB / 419.7 MB, free: 37.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.2067, allocations: 1.4 MB / 421.1 MB, free: 37.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.2068, allocations: 243.5 kB / 421.3 MB, free: 37.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.2071, allocations: 327.2 kB / 421.6 MB, free: 37.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.2101, allocations: 3.507 MB / 425.1 MB, free: 34.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.282e-05/0.2102, allocations: 23.44 kB / 425.2 MB, free: 34.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.2103, allocations: 151.4 kB / 425.3 MB, free: 34.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.2105, allocations: 347.5 kB / 425.7 MB, free: 34.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.2121, allocations: 1.405 MB / 427.1 MB, free: 34.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.2226, allocations: 24.74 MB / 451.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.2231, allocations: 406.7 kB / 452.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.2233, allocations: 134.7 kB / 452.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002424/0.2235, allocations: 74.62 kB / 452.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2236, allocations: 53.38 kB / 452.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.2236, allocations: 0 / 452.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001196/0.2248, allocations: 0.5051 MB / 453 MB, free: 12.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.2248, allocations: 295.9 kB / 453.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.2263, allocations: 1.591 MB / 454.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.2263, allocations: 34.8 kB / 454.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007714/0.2271, allocations: 1.94 MB / 456.8 MB, free: 9.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.2271, allocations: 110.3 kB / 456.9 MB, free: 9.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.2273, allocations: 184.7 kB / 457.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.2274, allocations: 0.5117 MB / 457.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.2276, allocations: 84.22 kB / 457.7 MB, free: 9.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.228, allocations: 0.7136 MB / 458.4 MB, free: 8.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006583/0.2286, allocations: 0.8745 MB / 459.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.2286, allocations: 3.938 kB / 459.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001073/0.2297, allocations: 0.8323 MB / 460.1 MB, free: 6.887 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.2297, allocations: 16.12 kB / 460.1 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.2297, allocations: 15.38 kB / 460.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.2299, allocations: 66.59 kB / 460.2 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.2303, allocations: 200.8 kB / 460.4 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.2314, allocations: 3.503 MB / 463.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.2319, allocations: 103.1 kB / 464 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.034e-05/0.2319, allocations: 65.52 kB / 464.1 MB, free: 3.176 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (94): * Single equations (assignments): 92 * 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.0003607/0.2323, allocations: 224.1 kB / 464.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.2326, allocations: 184 kB / 464.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.2334, allocations: 0.5134 MB / 465 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.2334, allocations: 4 kB / 465 MB, free: 2.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2334, allocations: 4 kB / 465 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2334, allocations: 4 kB / 465 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.2357, allocations: 1.842 MB / 466.8 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2357, allocations: 0 / 466.8 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.2359, allocations: 80.7 kB / 466.9 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.236, allocations: 45.97 kB / 467 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.236, allocations: 14.66 kB / 467 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.2375, allocations: 3.464 MB / 470.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2375, allocations: 3.938 kB / 470.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009649/0.2385, allocations: 1.648 MB / 472.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.2387, allocations: 165.6 kB / 472.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2388, allocations: 14.06 kB / 472.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.2393, allocations: 12 kB / 472.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.2394, allocations: 38.75 kB / 472.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.2394, allocations: 12 kB / 472.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001134/0.2406, allocations: 0.9896 MB / 473.3 MB, free: 9.707 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2406, allocations: 0 / 473.3 MB, free: 9.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001877/0.2424, allocations: 0.7777 MB / 474.1 MB, free: 8.926 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.0003198/0.2428, allocations: 221.6 kB / 474.3 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008006/0.2436, allocations: 0.6753 MB / 475 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2436, allocations: 0 / 475 MB, free: 8.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.2439, allocations: 447.8 kB / 475.4 MB, free: 7.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.2457, allocations: 350.8 kB / 475.8 MB, free: 7.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.2516, allocations: 4.78 MB / 480.6 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.2522, allocations: 0.5849 MB / 481.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000371/0.2526, allocations: 157.4 kB / 481.3 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.2528, allocations: 76.48 kB / 481.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2528, allocations: 3.844 kB / 481.4 MB, free: 1.836 MB / 346.7 MB Notification: Performance of Templates: time 0.02791/0.2807, allocations: 18.49 MB / 499.9 MB, free: 0.5859 MB / 362.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.55434994911775]