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.0009587/0.0009587, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009142/0.0009142, allocations: 173 kB / 23.49 MB, free: 1.055 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.9831/0.9831, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1014/0.1014, allocations: 17.46 MB / 277.7 MB, free: 11.62 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.184e-06/2.184e-06, allocations: 3.938 kB / 353.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.191e-05, allocations: 2.312 kB / 353.6 MB, free: 10.16 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.03417/0.0342, allocations: 37.71 MB / 391.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01053/0.04473, allocations: 6.362 MB / 397.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.04715, allocations: 47.69 kB / 397.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.05035, allocations: 1.319 MB / 399 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.0531, allocations: 1.248 MB / 400.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.05411, allocations: 478.3 kB / 400.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003367/0.05748, allocations: 3.019 MB / 403.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.05859, allocations: 1 MB / 404.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.06061, allocations: 1.836 MB / 406.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.06165, allocations: 0.9736 MB / 407.5 MB, free: 4.145 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003352/0.06199, allocations: 284 kB / 407.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.06359, allocations: 0.8578 MB / 408.7 MB, free: 3.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005658/0.06415, allocations: 0.9147 MB / 409.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.06527, allocations: 1.118 MB / 410.7 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1509/0.2162, allocations: 3.707 MB / 414.4 MB, free: 41.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2162, allocations: 0 / 414.4 MB, free: 41.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2162, allocations: 1.781 kB / 414.4 MB, free: 41.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001773/0.2164, allocations: 0 / 414.4 MB, free: 41.74 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.006898/0.2233, allocations: 4.187 MB / 418.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.2233, allocations: 9.344 kB / 418.6 MB, free: 39.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.2251, allocations: 0.8913 MB / 419.5 MB, free: 39.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.2273, allocations: 1.401 MB / 420.9 MB, free: 39.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.2275, allocations: 244.7 kB / 421.1 MB, free: 39.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.2278, allocations: 321.8 kB / 421.5 MB, free: 39.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00436/0.2322, allocations: 3.505 MB / 425 MB, free: 37.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-05/0.2323, allocations: 22.59 kB / 425 MB, free: 37.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.2325, allocations: 149 kB / 425.1 MB, free: 37.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002811/0.2327, allocations: 347.2 kB / 425.5 MB, free: 37.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.235, allocations: 1.408 MB / 426.9 MB, free: 36.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01351/0.2485, allocations: 24.73 MB / 451.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005897/0.2491, allocations: 413.1 kB / 452 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.2493, allocations: 137 kB / 452.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.2495, allocations: 74.69 kB / 452.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2496, allocations: 49.3 kB / 452.3 MB, free: 15.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.957e-06/0.2496, allocations: 0 / 452.3 MB, free: 15.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001578/0.2512, allocations: 0.5058 MB / 452.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.2512, allocations: 292.8 kB / 453.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.2528, allocations: 1.592 MB / 454.7 MB, free: 13.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.2528, allocations: 29.7 kB / 454.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008021/0.2536, allocations: 1.941 MB / 456.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.2537, allocations: 111.6 kB / 456.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.2539, allocations: 189 kB / 456.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.254, allocations: 0.5063 MB / 457.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2542, allocations: 90.06 kB / 457.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.2546, allocations: 0.7121 MB / 458.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.2553, allocations: 0.8837 MB / 459.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.2553, allocations: 3.344 kB / 459.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001042/0.2563, allocations: 0.831 MB / 459.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.2564, allocations: 12 kB / 460 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2564, allocations: 16 kB / 460 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.2566, allocations: 65.12 kB / 460 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.2569, allocations: 202.9 kB / 460.2 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.2581, allocations: 3.5 MB / 463.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.2587, allocations: 105.9 kB / 463.8 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.2588, allocations: 67.98 kB / 463.9 MB, free: 4.676 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.0007003/0.2595, allocations: 217.2 kB / 464.1 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.2597, allocations: 189.6 kB / 464.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006912/0.2604, allocations: 0.5119 MB / 464.8 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2604, allocations: 10.66 kB / 464.8 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2604, allocations: 4 kB / 464.8 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.2604, allocations: 0 / 464.8 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002592/0.263, allocations: 1.846 MB / 466.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.263, allocations: 0 / 466.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.2632, allocations: 73.23 kB / 466.7 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.2633, allocations: 50.03 kB / 466.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.2633, allocations: 12 kB / 466.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.2646, allocations: 3.468 MB / 470.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2646, allocations: 7.938 kB / 470.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.2657, allocations: 1.638 MB / 471.9 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000239/0.2659, allocations: 158.8 kB / 472.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.266, allocations: 17.3 kB / 472.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.2664, allocations: 12 kB / 472.1 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.2664, allocations: 39.69 kB / 472.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.2665, allocations: 16 kB / 472.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001009/0.2675, allocations: 0.987 MB / 473.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2675, allocations: 0 / 473.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002091/0.2696, allocations: 0.7842 MB / 473.9 MB, free: 10.36 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.0003931/0.27, allocations: 213.9 kB / 474.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008997/0.2709, allocations: 0.676 MB / 474.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2709, allocations: 2.078 kB / 474.8 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002921/0.2712, allocations: 444.4 kB / 475.2 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.2726, allocations: 356.8 kB / 475.6 MB, free: 8.773 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.2798, allocations: 4.776 MB / 480.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.2804, allocations: 0.5815 MB / 481 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005525/0.2809, allocations: 160 kB / 481.1 MB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.2811, allocations: 80.48 kB / 481.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of SimCode: time 1.954e-06/0.2811, allocations: 0 / 481.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of Templates: time 0.02921/0.3103, allocations: 18.49 MB / 499.7 MB, free: 2.035 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.529243018012494]