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.001416/0.001416, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002681/0.002681, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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.1414/0.1414, allocations: 17.44 MB / 277 MB, free: 11.57 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 2.785e-06/2.785e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.63e-05, allocations: 6.25 kB / 352.8 MB, free: 10.19 MB / 282.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.05388/0.05391, allocations: 33.69 MB / 386.5 MB, free: 8.602 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01494/0.06885, allocations: 5.995 MB / 392.5 MB, free: 2.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003179/0.07203, allocations: 51.69 kB / 392.5 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005575/0.0776, allocations: 1.323 MB / 393.9 MB, free: 1.203 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005661/0.08326, allocations: 1.24 MB / 395.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.08545, allocations: 474.3 kB / 395.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007007/0.09246, allocations: 3.027 MB / 398.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002594/0.09505, allocations: 1 MB / 399.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004927/0.09998, allocations: 1.832 MB / 401.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.1024, allocations: 0.9502 MB / 402.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007723/0.1032, allocations: 284 kB / 402.7 MB, free: 8.305 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.1063, allocations: 0.8577 MB / 403.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.1076, allocations: 0.9109 MB / 404.4 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.1103, allocations: 1.118 MB / 405.5 MB, free: 5.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007281/0.1176, allocations: 5.096 MB / 410.6 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1176, allocations: 0 / 410.6 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1176, allocations: 0 / 410.6 MB, free: 304 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.656e-05/0.1177, allocations: 0 / 410.6 MB, free: 304 kB / 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.1438/0.2614, allocations: 3.873 MB / 414.5 MB, free: 61.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2615, allocations: 9.656 kB / 414.5 MB, free: 61.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.2632, allocations: 0.8987 MB / 415.4 MB, free: 61.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.2656, allocations: 1.45 MB / 416.9 MB, free: 60.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.2658, allocations: 242 kB / 417.1 MB, free: 60.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.2661, allocations: 325.6 kB / 417.4 MB, free: 60.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00683/0.273, allocations: 4.763 MB / 422.2 MB, free: 57.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.918e-05/0.273, allocations: 25 kB / 422.2 MB, free: 57.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.2733, allocations: 142.6 kB / 422.4 MB, free: 57.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003698/0.2736, allocations: 355.7 kB / 422.7 MB, free: 57.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.2782, allocations: 3.59 MB / 426.3 MB, free: 55.69 MB / 330.7 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.01457/0.2928, allocations: 18.95 MB / 445.2 MB, free: 36.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009702/0.2937, allocations: 0.7058 MB / 446 MB, free: 35.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.2942, allocations: 463.4 kB / 446.4 MB, free: 34.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003991/0.2946, allocations: 85.62 kB / 446.5 MB, free: 34.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2946, allocations: 50.5 kB / 446.5 MB, free: 34.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.2946, allocations: 3.781 kB / 446.5 MB, free: 34.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.002383/0.297, allocations: 1.553 MB / 448.1 MB, free: 33.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.2971, allocations: 290.7 kB / 448.4 MB, free: 32.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.2985, allocations: 1.6 MB / 450 MB, free: 31.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.2986, allocations: 29.7 kB / 450 MB, free: 31.28 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000699/0.2993, allocations: 1.805 MB / 451.8 MB, free: 29.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.825e-05/0.2994, allocations: 120.5 kB / 451.9 MB, free: 29.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.2996, allocations: 174.6 kB / 452.1 MB, free: 29.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.2996, allocations: 337.9 kB / 452.4 MB, free: 28.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/0.3002, allocations: 466.9 kB / 452.9 MB, free: 28.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.3008, allocations: 0.8914 MB / 453.8 MB, free: 27.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3021, allocations: 1.413 MB / 455.2 MB, free: 25.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3021, allocations: 4 kB / 455.2 MB, free: 25.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001929/0.304, allocations: 1.579 MB / 456.8 MB, free: 24.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.304, allocations: 13.88 kB / 456.8 MB, free: 24.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.304, allocations: 16 kB / 456.8 MB, free: 24.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.3043, allocations: 68.31 kB / 456.9 MB, free: 24.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.3048, allocations: 207.6 kB / 457.1 MB, free: 23.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.306, allocations: 2.541 MB / 459.6 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007587/0.3068, allocations: 106 kB / 459.7 MB, free: 20.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.3069, allocations: 67.92 kB / 459.8 MB, free: 20.9 MB / 330.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.00109/0.3079, allocations: 0.7655 MB / 460.5 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.3083, allocations: 190.8 kB / 460.7 MB, free: 19.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.3097, allocations: 0.8938 MB / 461.6 MB, free: 19.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3097, allocations: 11.94 kB / 461.6 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3097, allocations: 4 kB / 461.6 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3097, allocations: 3.984 kB / 461.6 MB, free: 19.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.3118, allocations: 1.49 MB / 463.1 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.3118, allocations: 7.719 kB / 463.1 MB, free: 17.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3121, allocations: 75.89 kB / 463.2 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001712/0.3123, allocations: 44.31 kB / 463.3 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.3123, allocations: 16 kB / 463.3 MB, free: 17.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.3136, allocations: 2.517 MB / 465.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3136, allocations: 2.625 kB / 465.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.3155, allocations: 1.841 MB / 467.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.3158, allocations: 162.8 kB / 467.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.316, allocations: 15.92 kB / 467.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000668/0.3166, allocations: 19.98 kB / 467.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3167, allocations: 35.89 kB / 467.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.3168, allocations: 18.64 kB / 467.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001379/0.3181, allocations: 1.299 MB / 469.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3181, allocations: 0 / 469.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002176/0.3203, allocations: 0.7816 MB / 470 MB, free: 10.48 MB / 330.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.0003411/0.3206, allocations: 222.5 kB / 470.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.322, allocations: 1.053 MB / 471.2 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.322, allocations: 4 kB / 471.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005515/0.3225, allocations: 0.5023 MB / 471.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002023/0.3246, allocations: 352.4 kB / 472.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/0.3315, allocations: 5.15 MB / 477.2 MB, free: 3.332 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.3328, allocations: 1.459 MB / 478.7 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006399/0.3335, allocations: 171.5 kB / 478.9 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3337, allocations: 76.48 kB / 478.9 MB, free: 1.664 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3337, allocations: 0 / 478.9 MB, free: 1.664 MB / 330.7 MB Notification: Performance of Templates: time 0.03884/0.3725, allocations: 18.4 MB / 497.3 MB, free: 324 kB / 346.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=480 -lv LOG_STATS > Chemical_master_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.266473807976581]