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.001315/0.001315, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001797/0.001797, allocations: 212.1 kB / 22.25 MB, free: 4.859 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 7.789 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.1364/0.1364, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.002195/0.002195, allocations: 63.89 kB / 471.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3079, allocations: 59.9 MB / 0.5192 GB, free: 9.75 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.07937/0.3872, allocations: 32.94 MB / 0.5514 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.4004, allocations: 5.595 MB / 0.5568 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003885/0.4043, allocations: 55.62 kB / 0.5569 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.409, allocations: 1.196 MB / 0.5581 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.4138, allocations: 1.011 MB / 0.5591 GB, free: 116 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.4156, allocations: 442.5 kB / 0.5595 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005793/0.4214, allocations: 2.683 MB / 0.5621 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.4232, allocations: 0.9891 MB / 0.5631 GB, free: 12.39 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001704/0.4249, allocations: 1.155 MB / 0.5642 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.4264, allocations: 1.072 MB / 0.5652 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.4267, allocations: 288 kB / 0.5655 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.4287, allocations: 0.733 MB / 0.5662 GB, free: 9.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007141/0.4294, allocations: 0.8197 MB / 0.567 GB, free: 8.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.4307, allocations: 1.333 MB / 0.5683 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.4368, allocations: 5.027 MB / 0.5732 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4368, allocations: 0 / 0.5732 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4368, allocations: 4 kB / 0.5732 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.228e-05/0.4369, allocations: 0 / 0.5732 GB, free: 2.242 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.00524/0.4422, allocations: 3.822 MB / 0.577 GB, free: 14.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4422, allocations: 12.03 kB / 0.577 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007754/0.443, allocations: 498 kB / 0.5775 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.4453, allocations: 1.436 MB / 0.5789 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.4455, allocations: 246.9 kB / 0.5791 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/0.4459, allocations: 335.8 kB / 0.5794 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006484/0.4524, allocations: 4.77 MB / 0.5841 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.479e-05/0.4525, allocations: 19.81 kB / 0.5841 GB, free: 6.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/0.4527, allocations: 140 kB / 0.5842 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003725/0.4531, allocations: 353.8 kB / 0.5846 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005489/0.4586, allocations: 3.583 MB / 0.5881 GB, free: 2.535 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.02066/0.4792, allocations: 18.81 MB / 0.6064 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.4804, allocations: 0.7088 MB / 0.6071 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006548/0.4811, allocations: 468.4 kB / 0.6076 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/0.4815, allocations: 81.56 kB / 0.6077 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4815, allocations: 46.5 kB / 0.6077 GB, free: 13.67 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/0.4815, allocations: 4 kB / 0.6077 GB, free: 13.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002848/0.4844, allocations: 1.525 MB / 0.6092 GB, free: 12.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/0.4845, allocations: 290.7 kB / 0.6095 GB, free: 11.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.4867, allocations: 1.609 MB / 0.611 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.4867, allocations: 29.7 kB / 0.6111 GB, free: 10.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.4881, allocations: 1.82 MB / 0.6128 GB, free: 8.301 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.4882, allocations: 111.1 kB / 0.6129 GB, free: 8.191 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000265/0.4885, allocations: 178.5 kB / 0.6131 GB, free: 8.012 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4886, allocations: 334 kB / 0.6134 GB, free: 7.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007276/0.4893, allocations: 473.7 kB / 0.6139 GB, free: 7.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.4904, allocations: 0.8949 MB / 0.6148 GB, free: 6.102 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/0.4923, allocations: 1.425 MB / 0.6162 GB, free: 4.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4923, allocations: 4 kB / 0.6162 GB, free: 4.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002565/0.4949, allocations: 1.53 MB / 0.6177 GB, free: 2.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.4949, allocations: 20.05 kB / 0.6177 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.4949, allocations: 16.05 kB / 0.6177 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.4952, allocations: 57.69 kB / 0.6177 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.4958, allocations: 211.6 kB / 0.6179 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.498, allocations: 2.548 MB / 0.6204 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007872/0.4987, allocations: 103.6 kB / 0.6205 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4988, allocations: 67.98 kB / 0.6206 GB, free: 15.69 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.001434/0.5003, allocations: 0.7668 MB / 0.6213 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.5007, allocations: 166.9 kB / 0.6215 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.5024, allocations: 0.8972 MB / 0.6224 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5024, allocations: 4 kB / 0.6224 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5024, allocations: 4 kB / 0.6224 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.5024, allocations: 7.984 kB / 0.6224 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.5051, allocations: 1.495 MB / 0.6239 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5051, allocations: 4 kB / 0.6239 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.5054, allocations: 67.91 kB / 0.6239 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.5056, allocations: 57.61 kB / 0.624 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.5056, allocations: 15.94 kB / 0.624 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.5076, allocations: 2.521 MB / 0.6265 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.5076, allocations: 4 kB / 0.6265 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.5095, allocations: 1.818 MB / 0.6282 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.5099, allocations: 158.9 kB / 0.6284 GB, free: 7.398 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.51, allocations: 12.06 kB / 0.6284 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006122/0.5106, allocations: 23.97 kB / 0.6284 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.5107, allocations: 43.83 kB / 0.6285 GB, free: 7.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.5107, allocations: 12 kB / 0.6285 GB, free: 7.309 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001749/0.5125, allocations: 1.303 MB / 0.6297 GB, free: 5.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5125, allocations: 0 / 0.6297 GB, free: 5.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002292/0.5148, allocations: 0.7581 MB / 0.6305 GB, free: 5.219 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.0004081/0.5152, allocations: 215.1 kB / 0.6307 GB, free: 5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.517, allocations: 1.059 MB / 0.6317 GB, free: 3.918 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.517, allocations: 0 / 0.6317 GB, free: 3.918 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.5177, allocations: 0.4932 MB / 0.6322 GB, free: 3.398 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.5198, allocations: 334.5 kB / 0.6325 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008916/0.5288, allocations: 5.238 MB / 0.6376 GB, free: 13.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.5307, allocations: 1.462 MB / 0.6391 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007085/0.5314, allocations: 167.6 kB / 0.6392 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.5316, allocations: 75.42 kB / 0.6393 GB, free: 12.04 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5316, allocations: 0 / 0.6393 GB, free: 12.04 MB / 494.1 MB Notification: Performance of Templates: time 0.04372/0.5753, allocations: 22.72 MB / 0.6615 GB, free: 5.582 MB / 0.4981 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: 5.242372319102287] Failed to read output from testmodel.py, exit status != 0: 0.5848726574331522 0.598542612 0.15868478600000002 Calling exit ...