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.001475/0.001475, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001603/0.001603, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] 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.1362/0.1362, allocations: 17.45 MB / 276.6 MB, free: 15.24 MB / 270.1 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.313e-06/1.313e-06, allocations: 0 / 412.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.886e-05, allocations: 5.656 kB / 412.1 MB, free: 4.309 MB / 334.1 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.04447/0.0445, allocations: 33.51 MB / 445.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1927/0.2372, allocations: 5.993 MB / 451.6 MB, free: 31.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/0.24, allocations: 52.56 kB / 451.7 MB, free: 31.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004534/0.2445, allocations: 1.325 MB / 453 MB, free: 31.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00508/0.2496, allocations: 1.24 MB / 454.2 MB, free: 30.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.2515, allocations: 480.6 kB / 454.7 MB, free: 30.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005856/0.2574, allocations: 3.031 MB / 457.7 MB, free: 29.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.259, allocations: 0.9949 MB / 458.7 MB, free: 29.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/0.2631, allocations: 1.83 MB / 460.5 MB, free: 28.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.2654, allocations: 0.9624 MB / 461.5 MB, free: 28.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005479/0.266, allocations: 284.7 kB / 461.8 MB, free: 28.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002714/0.2687, allocations: 0.8479 MB / 462.6 MB, free: 28.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.2695, allocations: 0.913 MB / 463.5 MB, free: 27.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.2714, allocations: 1.115 MB / 464.7 MB, free: 27.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006548/0.2779, allocations: 5.101 MB / 469.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2779, allocations: 0 / 469.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2779, allocations: 1.062 kB / 469.8 MB, free: 24.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001608/0.2781, allocations: 0 / 469.8 MB, free: 24.89 MB / 366.1 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.005771/0.2839, allocations: 3.866 MB / 473.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2839, allocations: 8.938 kB / 473.6 MB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009148/0.2848, allocations: 0.5272 MB / 474.2 MB, free: 21.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.287, allocations: 1.435 MB / 475.6 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.2871, allocations: 245.5 kB / 475.8 MB, free: 20.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.2874, allocations: 323.2 kB / 476.2 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.2927, allocations: 4.764 MB / 480.9 MB, free: 17.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.277e-05/0.2927, allocations: 24.88 kB / 480.9 MB, free: 17.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.293, allocations: 147.3 kB / 481.1 MB, free: 17.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000291/0.2933, allocations: 350.9 kB / 481.4 MB, free: 16.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004105/0.2974, allocations: 3.586 MB / 485 MB, free: 13.36 MB / 366.1 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.01722/0.3146, allocations: 18.77 MB / 0.492 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3159, allocations: 0.7038 MB / 0.4927 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007003/0.3166, allocations: 470.8 kB / 0.4931 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.317, allocations: 87 kB / 0.4932 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.3171, allocations: 51.19 kB / 0.4932 GB, free: 8.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.515e-06/0.3171, allocations: 0 / 0.4932 GB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.003256/0.3203, allocations: 1.535 MB / 0.4947 GB, free: 7.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/0.3205, allocations: 294.7 kB / 0.495 GB, free: 6.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.323, allocations: 1.597 MB / 0.4966 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/0.323, allocations: 33.7 kB / 0.4966 GB, free: 5.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.3246, allocations: 1.812 MB / 0.4984 GB, free: 3.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.3247, allocations: 118.3 kB / 0.4985 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.3251, allocations: 178.5 kB / 0.4987 GB, free: 3.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3252, allocations: 340.6 kB / 0.499 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008036/0.326, allocations: 461.8 kB / 0.4994 GB, free: 2.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.3272, allocations: 0.901 MB / 0.5003 GB, free: 1.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.3292, allocations: 1.43 MB / 0.5017 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.3292, allocations: 6.25 kB / 0.5017 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002798/0.332, allocations: 1.531 MB / 0.5032 GB, free: 14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.332, allocations: 12 kB / 0.5032 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/0.332, allocations: 16 kB / 0.5032 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.3323, allocations: 63.11 kB / 0.5033 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006389/0.3329, allocations: 211.6 kB / 0.5035 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.335, allocations: 2.544 MB / 0.506 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.336, allocations: 111.2 kB / 0.5061 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.3361, allocations: 63.98 kB / 0.5061 GB, free: 10.79 MB / 398.1 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.001558/0.3376, allocations: 0.7662 MB / 0.5069 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.3381, allocations: 174.9 kB / 0.5071 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.3399, allocations: 0.8978 MB / 0.5079 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3399, allocations: 6.625 kB / 0.5079 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.34, allocations: 4 kB / 0.5079 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.34, allocations: 7.984 kB / 0.508 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.3428, allocations: 1.482 MB / 0.5094 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3428, allocations: 4 kB / 0.5094 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.3432, allocations: 71.89 kB / 0.5095 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.3433, allocations: 56.27 kB / 0.5095 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.3434, allocations: 15.94 kB / 0.5095 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.3454, allocations: 2.516 MB / 0.512 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3454, allocations: 10.53 kB / 0.512 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.3477, allocations: 1.83 MB / 0.5138 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.348, allocations: 158.8 kB / 0.514 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.3482, allocations: 14.62 kB / 0.514 GB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.3489, allocations: 15.98 kB / 0.514 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.349, allocations: 42.53 kB / 0.514 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.349, allocations: 19.94 kB / 0.514 GB, free: 2.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001878/0.3509, allocations: 1.303 MB / 0.5153 GB, free: 1.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3509, allocations: 0 / 0.5153 GB, free: 1.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002456/0.3533, allocations: 0.7778 MB / 0.5161 GB, free: 352 kB / 398.1 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.0004205/0.3538, allocations: 227.2 kB / 0.5163 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.3556, allocations: 1.057 MB / 0.5173 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3556, allocations: 0 / 0.5173 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007912/0.3564, allocations: 0.5056 MB / 0.5178 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.3587, allocations: 338.5 kB / 0.5181 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008626/0.3673, allocations: 5.031 MB / 0.5231 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001936/0.3693, allocations: 1.464 MB / 0.5245 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006435/0.3699, allocations: 164.1 kB / 0.5246 GB, free: 7.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3701, allocations: 80.48 kB / 0.5247 GB, free: 7.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3701, allocations: 2.656 kB / 0.5247 GB, free: 7.66 MB / 414.1 MB Notification: Performance of Templates: time 0.03887/0.409, allocations: 18.34 MB / 0.5426 GB, free: 6.203 MB / 430.1 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: 5.344454165548086] Failed to read output from testmodel.py, exit status != 0: 0.41802000626921654 0.431925598 0.150866532 Calling exit ...