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.0008251/0.0008251, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008804/0.0008804, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9008/0.9008, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.08352/0.08352, allocations: 17.47 MB / 277.7 MB, free: 11.43 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.583e-06/1.583e-06, allocations: 0.75 kB / 300.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.167e-05, allocations: 2.312 kB / 300.7 MB, free: 1.746 MB / 266.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.03413/0.03414, allocations: 43.41 MB / 344.1 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.04433, allocations: 6.589 MB / 350.7 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.0456, allocations: 47.69 kB / 350.8 MB, free: 2.254 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.04797, allocations: 1.374 MB / 352.2 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.04983, allocations: 1.248 MB / 353.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.05071, allocations: 478.3 kB / 353.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002799/0.05351, allocations: 3.039 MB / 356.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000827/0.05434, allocations: 1.047 MB / 358 MB, free: 10.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.05545, allocations: 1.844 MB / 359.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007168/0.05617, allocations: 0.958 MB / 360.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.05637, allocations: 288 kB / 361 MB, free: 7.852 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.05742, allocations: 0.8421 MB / 361.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004174/0.05784, allocations: 0.9148 MB / 362.8 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009204/0.05876, allocations: 1.114 MB / 363.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.06108, allocations: 3.716 MB / 367.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.06108, allocations: 0 / 367.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.06108, allocations: 0 / 367.6 MB, free: 1.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.0611, allocations: 0 / 367.6 MB, free: 1.242 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.002697/0.0638, allocations: 3.847 MB / 371.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.596e-05/0.06383, allocations: 8.031 kB / 371.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.06442, allocations: 0.7502 MB / 372.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009679/0.06539, allocations: 1.07 MB / 373.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.06549, allocations: 242.9 kB / 373.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.0657, allocations: 320.4 kB / 373.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.06778, allocations: 3.036 MB / 376.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.286e-05/0.06783, allocations: 19.81 kB / 376.9 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.06797, allocations: 148 kB / 377 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/0.06819, allocations: 341.8 kB / 377.4 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.06974, allocations: 1.29 MB / 378.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008761/0.0785, allocations: 17.02 MB / 395.7 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.07885, allocations: 468.8 kB / 396.1 MB, free: 3.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.07896, allocations: 104.6 kB / 396.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.07912, allocations: 73.55 kB / 396.3 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.07915, allocations: 54.42 kB / 396.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.07915, allocations: 0 / 396.4 MB, free: 3.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006347/0.07979, allocations: 343.2 kB / 396.7 MB, free: 2.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.751e-05/0.07986, allocations: 294.7 kB / 397 MB, free: 2.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/0.0806, allocations: 1.257 MB / 398.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.08062, allocations: 33.7 kB / 398.3 MB, free: 1.152 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008183/0.08144, allocations: 1.526 MB / 399.8 MB, free: 15.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.0815, allocations: 115 kB / 399.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.08164, allocations: 162.5 kB / 400.1 MB, free: 15.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.08172, allocations: 345.8 kB / 400.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.08182, allocations: 68.78 kB / 400.5 MB, free: 14.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.0821, allocations: 0.4918 MB / 401 MB, free: 14.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.08256, allocations: 0.6708 MB / 401.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.08256, allocations: 7.938 kB / 401.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.000588/0.08315, allocations: 0.6111 MB / 402.3 MB, free: 12.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.08317, allocations: 14.03 kB / 402.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.08318, allocations: 16.88 kB / 402.3 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.08329, allocations: 61.69 kB / 402.4 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.08357, allocations: 187.6 kB / 402.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009315/0.0845, allocations: 2.344 MB / 404.9 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.08478, allocations: 103.3 kB / 405 MB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.08483, allocations: 59.98 kB / 405 MB, free: 9.734 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (93): * Single equations (assignments): 91 * 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.0002853/0.08512, allocations: 180.4 kB / 405.2 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.08528, allocations: 111.9 kB / 405.3 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.0858, allocations: 454.9 kB / 405.8 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.08581, allocations: 4 kB / 405.8 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.08581, allocations: 7.938 kB / 405.8 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.08582, allocations: 4 kB / 405.8 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.0871, allocations: 1.001 MB / 406.8 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.0871, allocations: 4.062 kB / 406.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.08724, allocations: 71.89 kB / 406.9 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.04e-05/0.08732, allocations: 37.97 kB / 406.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.08734, allocations: 8 kB / 406.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000817/0.08816, allocations: 2.325 MB / 409.2 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.08816, allocations: 4 kB / 409.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.08874, allocations: 1.268 MB / 410.5 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.08887, allocations: 142.9 kB / 410.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.08895, allocations: 15.92 kB / 410.7 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.08926, allocations: 12 kB / 410.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.08932, allocations: 39.88 kB / 410.7 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.08933, allocations: 8 kB / 410.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004666/0.08979, allocations: 0.6766 MB / 411.4 MB, free: 3.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08979, allocations: 0 / 411.4 MB, free: 3.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00116/0.09095, allocations: 0.7778 MB / 412.2 MB, free: 2.348 MB / 378.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.0002904/0.09124, allocations: 215.8 kB / 412.4 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004781/0.09172, allocations: 0.5306 MB / 412.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.443e-05/0.09175, allocations: 20.5 kB / 412.9 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.09193, allocations: 315.8 kB / 413.2 MB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.09339, allocations: 358.5 kB / 413.6 MB, free: 0.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.09779, allocations: 4.797 MB / 418.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.09822, allocations: 0.5751 MB / 419 MB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002831/0.0985, allocations: 151.5 kB / 419.1 MB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.0989, allocations: 285.1 kB / 419.4 MB, free: 10.96 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0989, allocations: 0 / 419.4 MB, free: 10.96 MB / 394.7 MB Notification: Performance of Templates: time 0.03334/0.1322, allocations: 20.51 MB / 439.9 MB, free: 6.637 MB / 410.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.1995332268998027]