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.0008412/0.0008412, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008208/0.0008208, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8371/0.8371, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.08338/0.08338, allocations: 17.45 MB / 277.4 MB, free: 11.75 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 1.162e-06/1.162e-06, allocations: 0 / 412.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.522e-05, allocations: 10.22 kB / 412.9 MB, free: 15.73 MB / 394.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.2705/0.2705, allocations: 33.46 MB / 446.3 MB, free: 44.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007131/0.2776, allocations: 6.004 MB / 452.3 MB, free: 43.96 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.2787, allocations: 50.94 kB / 452.4 MB, free: 43.95 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2805, allocations: 1.321 MB / 453.7 MB, free: 43.5 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.2817, allocations: 1.244 MB / 454.9 MB, free: 42.89 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.2823, allocations: 473.8 kB / 455.4 MB, free: 42.68 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2837, allocations: 3.037 MB / 458.4 MB, free: 41.17 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.2845, allocations: 0.9999 MB / 459.4 MB, free: 40.7 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000889/0.2854, allocations: 1.831 MB / 461.3 MB, free: 39.99 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000595/0.286, allocations: 0.9555 MB / 462.2 MB, free: 39.7 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.2861, allocations: 285.7 kB / 462.5 MB, free: 39.7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008762/0.287, allocations: 0.8542 MB / 463.4 MB, free: 39.58 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.2873, allocations: 0.906 MB / 464.3 MB, free: 39.07 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.2879, allocations: 1.111 MB / 465.4 MB, free: 38.63 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002341/0.2902, allocations: 5.097 MB / 470.5 MB, free: 36.4 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2902, allocations: 3.344 kB / 470.5 MB, free: 36.4 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2902, allocations: 0 / 470.5 MB, free: 36.4 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.2902, allocations: 0 / 470.5 MB, free: 36.4 MB / 410.8 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.002382/0.2926, allocations: 3.871 MB / 474.3 MB, free: 33.96 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.2927, allocations: 9.406 kB / 474.4 MB, free: 33.96 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.2931, allocations: 0.5253 MB / 474.9 MB, free: 33.7 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2942, allocations: 1.434 MB / 476.3 MB, free: 32.73 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-05/0.2943, allocations: 243.7 kB / 476.6 MB, free: 32.62 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.2945, allocations: 325.2 kB / 476.9 MB, free: 32.52 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.2975, allocations: 4.767 MB / 481.6 MB, free: 29.79 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.152e-05/0.2976, allocations: 20.75 kB / 481.7 MB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.2977, allocations: 140.4 kB / 481.8 MB, free: 29.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001836/0.2979, allocations: 355.2 kB / 482.1 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.3012, allocations: 3.585 MB / 485.7 MB, free: 28.17 MB / 410.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009219/0.3104, allocations: 18.77 MB / 0.4927 GB, free: 12.88 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000698/0.3111, allocations: 0.7104 MB / 0.4934 GB, free: 12.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.3115, allocations: 469.4 kB / 0.4938 GB, free: 12.19 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.3118, allocations: 80.98 kB / 0.4939 GB, free: 12.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.3118, allocations: 50.75 kB / 0.4939 GB, free: 12.13 MB / 410.8 MB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.3118, allocations: 0 / 0.4939 GB, free: 12.13 MB / 410.8 MB Notification: Performance of matching and sorting (n=28): time 0.001719/0.3135, allocations: 1.536 MB / 0.4954 GB, free: 11.51 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.3136, allocations: 293.9 kB / 0.4957 GB, free: 11.16 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.3149, allocations: 1.6 MB / 0.4973 GB, free: 10.55 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3149, allocations: 32.08 kB / 0.4973 GB, free: 10.52 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006538/0.3156, allocations: 1.81 MB / 0.4991 GB, free: 9.137 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.3157, allocations: 114.8 kB / 0.4992 GB, free: 9.051 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.3158, allocations: 176.4 kB / 0.4994 GB, free: 8.965 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.3159, allocations: 338.2 kB / 0.4997 GB, free: 8.645 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.3163, allocations: 474.7 kB / 0.5001 GB, free: 8.477 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.3169, allocations: 0.8977 MB / 0.501 GB, free: 7.723 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.318, allocations: 1.422 MB / 0.5024 GB, free: 6.73 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.318, allocations: 4.344 kB / 0.5024 GB, free: 6.73 MB / 410.8 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001421/0.3194, allocations: 1.54 MB / 0.5039 GB, free: 6.086 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3194, allocations: 11.88 kB / 0.5039 GB, free: 6.086 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3194, allocations: 14.62 kB / 0.5039 GB, free: 6.086 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.3196, allocations: 66.67 kB / 0.504 GB, free: 6.059 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.3199, allocations: 206.6 kB / 0.5042 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008545/0.3208, allocations: 2.544 MB / 0.5067 GB, free: 3.52 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.3212, allocations: 111.1 kB / 0.5068 GB, free: 3.453 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.3212, allocations: 66.48 kB / 0.5068 GB, free: 3.441 MB / 410.8 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.0006883/0.3219, allocations: 0.7658 MB / 0.5076 GB, free: 2.973 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.3221, allocations: 180.3 kB / 0.5078 GB, free: 2.883 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008498/0.323, allocations: 0.8953 MB / 0.5086 GB, free: 2.531 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.323, allocations: 7.188 kB / 0.5086 GB, free: 2.531 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.323, allocations: 3.469 kB / 0.5086 GB, free: 2.531 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.323, allocations: 6.812 kB / 0.5087 GB, free: 2.531 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.3244, allocations: 1.486 MB / 0.5101 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3244, allocations: 3.203 kB / 0.5101 GB, free: 1.918 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.3246, allocations: 76.28 kB / 0.5102 GB, free: 1.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.94e-05/0.3247, allocations: 49.33 kB / 0.5102 GB, free: 1.887 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3247, allocations: 19.17 kB / 0.5102 GB, free: 1.875 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007695/0.3255, allocations: 2.52 MB / 0.5127 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3255, allocations: 3.453 kB / 0.5127 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3266, allocations: 1.834 MB / 0.5145 GB, free: 14.15 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.3267, allocations: 153.9 kB / 0.5146 GB, free: 14.05 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.066e-05/0.3268, allocations: 16.42 kB / 0.5147 GB, free: 14.04 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.3271, allocations: 18.83 kB / 0.5147 GB, free: 14.04 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.225e-05/0.3272, allocations: 40.69 kB / 0.5147 GB, free: 14.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3272, allocations: 12.08 kB / 0.5147 GB, free: 14.02 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001146/0.3284, allocations: 1.302 MB / 0.516 GB, free: 13.45 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3284, allocations: 0 / 0.516 GB, free: 13.45 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.001285/0.3297, allocations: 0.7879 MB / 0.5168 GB, free: 13.16 MB / 426.8 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.0002814/0.3299, allocations: 220 kB / 0.517 GB, free: 13.02 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009956/0.3309, allocations: 1.059 MB / 0.518 GB, free: 12.52 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3309, allocations: 0 / 0.518 GB, free: 12.52 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.3315, allocations: 0.4938 MB / 0.5185 GB, free: 12.21 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.3328, allocations: 342.2 kB / 0.5188 GB, free: 12.08 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.3375, allocations: 5.222 MB / 0.5239 GB, free: 9.297 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.3386, allocations: 1.461 MB / 0.5254 GB, free: 8.922 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3387, allocations: 80.36 kB / 0.5254 GB, free: 8.91 MB / 426.8 MB Notification: Performance of SimCode: time 7.71e-07/0.3387, allocations: 0 / 0.5254 GB, free: 8.91 MB / 426.8 MB Notification: Performance of Templates: time 0.03924/0.378, allocations: 60.23 MB / 0.5842 GB, free: 3.062 MB / 474.8 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=480 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.265265411697328] Failed to read output from testmodel.py, exit status != 0: 0.3834934290498495 0.391590329 0.099771067 Calling exit ...