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.001415/0.001415, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001511/0.001511, allocations: 217.3 kB / 22.99 MB, free: 4.914 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.1382/0.1382, allocations: 23.99 MB / 337.2 MB, free: 10.87 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 75.89 kB / 472.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 59.89 MB / 0.52 GB, free: 9.719 MB / 382.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.0792/0.4313, allocations: 32.95 MB / 0.5521 GB, free: 7.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01279/0.4441, allocations: 5.587 MB / 0.5576 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/0.4477, allocations: 51.69 kB / 0.5576 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004635/0.4524, allocations: 1.2 MB / 0.5588 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.4569, allocations: 1.014 MB / 0.5598 GB, free: 184 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.4588, allocations: 449.3 kB / 0.5602 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.4643, allocations: 2.683 MB / 0.5628 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.4661, allocations: 0.9848 MB / 0.5638 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.4678, allocations: 1.156 MB / 0.5649 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.4695, allocations: 1.067 MB / 0.566 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.4699, allocations: 288 kB / 0.5663 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.4718, allocations: 0.7301 MB / 0.567 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006993/0.4725, allocations: 0.8251 MB / 0.5678 GB, free: 8.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.4739, allocations: 1.329 MB / 0.5691 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.48, allocations: 5.027 MB / 0.574 GB, free: 2.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.48, allocations: 0 / 0.574 GB, free: 2.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.48, allocations: 0 / 0.574 GB, free: 2.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.4801, allocations: 0 / 0.574 GB, free: 2.262 MB / 414.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.005429/0.4856, allocations: 3.826 MB / 0.5777 GB, free: 14.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.4856, allocations: 8.031 kB / 0.5777 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/0.4864, allocations: 0.4903 MB / 0.5782 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.4888, allocations: 1.436 MB / 0.5796 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.489, allocations: 242.9 kB / 0.5798 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003806/0.4894, allocations: 327.8 kB / 0.5801 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006578/0.496, allocations: 4.767 MB / 0.5848 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.881e-05/0.496, allocations: 19.81 kB / 0.5848 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/0.4963, allocations: 151.9 kB / 0.585 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003911/0.4967, allocations: 349.8 kB / 0.5853 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/0.5021, allocations: 3.582 MB / 0.5888 GB, free: 2.562 MB / 430.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.02128/0.5234, allocations: 18.81 MB / 0.6072 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.5248, allocations: 0.713 MB / 0.6079 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.5255, allocations: 464.3 kB / 0.6083 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/0.5259, allocations: 81.56 kB / 0.6084 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.5259, allocations: 50.5 kB / 0.6084 GB, free: 13.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.505e-06/0.5259, allocations: 0 / 0.6084 GB, free: 13.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002991/0.5289, allocations: 1.522 MB / 0.6099 GB, free: 12.15 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.5291, allocations: 298.7 kB / 0.6102 GB, free: 11.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.5316, allocations: 1.601 MB / 0.6118 GB, free: 10.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.5316, allocations: 33.7 kB / 0.6118 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.5331, allocations: 1.812 MB / 0.6136 GB, free: 8.328 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.5332, allocations: 123.2 kB / 0.6137 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.5335, allocations: 178.5 kB / 0.6139 GB, free: 8.027 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5337, allocations: 337.9 kB / 0.6142 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.5344, allocations: 473.7 kB / 0.6146 GB, free: 7.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.5355, allocations: 0.891 MB / 0.6155 GB, free: 6.117 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.5374, allocations: 1.421 MB / 0.6169 GB, free: 4.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.5374, allocations: 4.5 kB / 0.6169 GB, free: 4.477 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00263/0.54, allocations: 1.529 MB / 0.6184 GB, free: 2.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.54, allocations: 15.94 kB / 0.6184 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/0.5401, allocations: 16 kB / 0.6184 GB, free: 2.902 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.5404, allocations: 62.17 kB / 0.6185 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.541, allocations: 208.1 kB / 0.6187 GB, free: 2.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.5432, allocations: 2.544 MB / 0.6212 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/0.544, allocations: 107.4 kB / 0.6213 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5442, allocations: 67.98 kB / 0.6213 GB, free: 15.71 MB / 478.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.00151/0.5457, allocations: 0.7668 MB / 0.6221 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.5461, allocations: 166.9 kB / 0.6222 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.548, allocations: 0.905 MB / 0.6231 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.548, allocations: 8 kB / 0.6231 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.548, allocations: 0 / 0.6231 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.548, allocations: 4 kB / 0.6231 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.5514, allocations: 1.495 MB / 0.6246 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5514, allocations: 0 / 0.6246 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.5518, allocations: 75.95 kB / 0.6247 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.5519, allocations: 45.69 kB / 0.6247 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.552, allocations: 15.94 kB / 0.6247 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.554, allocations: 2.521 MB / 0.6272 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.554, allocations: 4.031 kB / 0.6272 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.5561, allocations: 1.823 MB / 0.629 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.5565, allocations: 158.8 kB / 0.6291 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.5567, allocations: 15.98 kB / 0.6291 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.5574, allocations: 15.98 kB / 0.6292 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.5575, allocations: 39.83 kB / 0.6292 GB, free: 7.352 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.5575, allocations: 15.98 kB / 0.6292 GB, free: 7.336 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001994/0.5595, allocations: 1.303 MB / 0.6305 GB, free: 6.008 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5595, allocations: 4 kB / 0.6305 GB, free: 6.004 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002303/0.5618, allocations: 0.7542 MB / 0.6312 GB, free: 5.246 MB / 478.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.0003942/0.5622, allocations: 215.1 kB / 0.6314 GB, free: 5.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001874/0.5641, allocations: 1.062 MB / 0.6325 GB, free: 3.941 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5641, allocations: 0 / 0.6325 GB, free: 3.941 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007784/0.5649, allocations: 0.5013 MB / 0.633 GB, free: 3.414 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.5672, allocations: 328.7 kB / 0.6333 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5784, allocations: 5.427 MB / 0.6386 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.581, allocations: 1.451 MB / 0.64 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.5813, allocations: 83.42 kB / 0.6401 GB, free: 12.03 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/0.5813, allocations: 3.938 kB / 0.6401 GB, free: 12.03 MB / 494.1 MB Notification: Performance of Templates: time 0.08114/0.6624, allocations: 59.81 MB / 0.6985 GB, free: 216 kB / 0.5294 GB " [Timeout remaining time 659] 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: 10.98534325323999] Failed to read output from testmodel.py, exit status != 0: 0.6719660107046366 0.6895002680000001 0.206078326 Calling exit ...