Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0009166/0.0009166, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009443/0.0009443, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9781/0.9781, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1178/0.1178, allocations: 17.39 MB / 278.4 MB, free: 11.49 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Boundaries.Tests.TestBoundaries") translateModel(Chemical.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Chemical_Chemical.Boundaries.Tests.TestBoundaries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 354.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.355e-05, allocations: 2.312 kB / 354.7 MB, free: 10.73 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Interfaces.mo:1564:5-1564: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 2.0.0/Interfaces.mo:1564:5-1564: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.03463/0.03465, allocations: 37.11 MB / 391.8 MB, free: 5.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009354/0.04401, allocations: 5.945 MB / 397.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.04679, allocations: 43.75 kB / 397.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.05009, allocations: 1.265 MB / 399 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.05305, allocations: 1.007 MB / 400.1 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.05422, allocations: 438.5 kB / 400.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003579/0.0578, allocations: 2.75 MB / 403.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.05895, allocations: 0.9923 MB / 404.2 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.06078, allocations: 1.692 MB / 405.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009775/0.06176, allocations: 0.8606 MB / 406.8 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.0621, allocations: 284 kB / 407.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.06381, allocations: 0.7566 MB / 407.8 MB, free: 5.527 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.06424, allocations: 0.829 MB / 408.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009689/0.06521, allocations: 1.044 MB / 409.7 MB, free: 3.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004203/0.06941, allocations: 3.557 MB / 413.2 MB, free: 80 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.06942, allocations: 4 kB / 413.2 MB, free: 76 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.06942, allocations: 0 / 413.2 MB, free: 76 kB / 378.7 MB Notification: Performance of Transformations before backend: time 6.274e-05/0.06948, allocations: 0 / 413.2 MB, free: 76 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 918 * Number of variables: 918 Notification: Performance of Generate backend data structure: time 0.003926/0.07341, allocations: 4.118 MB / 417.4 MB, free: 11.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.07345, allocations: 12.02 kB / 417.4 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000912/0.07437, allocations: 0.8457 MB / 418.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.07585, allocations: 1.364 MB / 419.6 MB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.07599, allocations: 246.8 kB / 419.8 MB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.07622, allocations: 316.3 kB / 420.1 MB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.07903, allocations: 3.258 MB / 423.4 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.134e-05/0.07909, allocations: 23.81 kB / 423.4 MB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.07925, allocations: 140 kB / 423.5 MB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002836/0.07953, allocations: 349.8 kB / 423.9 MB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.08088, allocations: 1.13 MB / 425 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2172/0.298, allocations: 24.36 MB / 449.4 MB, free: 82.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.2985, allocations: 394.4 kB / 449.8 MB, free: 81.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.2986, allocations: 131.2 kB / 449.9 MB, free: 81.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.2988, allocations: 69.09 kB / 450 MB, free: 81.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.2988, allocations: 56.95 kB / 450 MB, free: 81.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.615e-06/0.2988, allocations: 2.438 kB / 450 MB, free: 81.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009226/0.2997, allocations: 479.4 kB / 450.5 MB, free: 81.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2998, allocations: 295.9 kB / 450.8 MB, free: 81.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3009, allocations: 1.542 MB / 452.3 MB, free: 80.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3009, allocations: 32.55 kB / 452.3 MB, free: 80.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006848/0.3016, allocations: 1.934 MB / 454.3 MB, free: 80.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.3016, allocations: 118.8 kB / 454.4 MB, free: 80.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.3018, allocations: 173.5 kB / 454.6 MB, free: 80.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.985e-05/0.3019, allocations: 0.5091 MB / 455.1 MB, free: 79.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.302, allocations: 62.02 kB / 455.1 MB, free: 79.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.3023, allocations: 0.6263 MB / 455.8 MB, free: 79.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.3028, allocations: 0.782 MB / 456.5 MB, free: 78.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3028, allocations: 3.125 kB / 456.5 MB, free: 78.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007497/0.3035, allocations: 0.7249 MB / 457.3 MB, free: 78.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3036, allocations: 9.844 kB / 457.3 MB, free: 78.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3036, allocations: 13.19 kB / 457.3 MB, free: 78.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/0.3037, allocations: 61.02 kB / 457.4 MB, free: 78.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002909/0.304, allocations: 189.1 kB / 457.5 MB, free: 78.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009652/0.305, allocations: 3.445 MB / 461 MB, free: 74.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003763/0.3054, allocations: 96.03 kB / 461.1 MB, free: 74.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/0.3054, allocations: 55.48 kB / 461.1 MB, free: 74.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (86): * Single equations (assignments): 84 * 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.0004457/0.3059, allocations: 220.3 kB / 461.3 MB, free: 74.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.3061, allocations: 171.3 kB / 461.5 MB, free: 74.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005968/0.3067, allocations: 0.4963 MB / 462 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3067, allocations: 6.625 kB / 462 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3067, allocations: 7.094 kB / 462 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3067, allocations: 5.5 kB / 462 MB, free: 74.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.3081, allocations: 1.184 MB / 463.2 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3081, allocations: 0 / 463.2 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3082, allocations: 73.66 kB / 463.3 MB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.3083, allocations: 54.73 kB / 463.3 MB, free: 74.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3084, allocations: 10.28 kB / 463.3 MB, free: 74.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007619/0.3091, allocations: 3.429 MB / 466.8 MB, free: 70.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3091, allocations: 5.812 kB / 466.8 MB, free: 70.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.3097, allocations: 1.614 MB / 468.4 MB, free: 69.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3098, allocations: 148.5 kB / 468.5 MB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.3099, allocations: 13.53 kB / 468.6 MB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.3102, allocations: 15.31 kB / 468.6 MB, free: 69.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/0.3103, allocations: 48.61 kB / 468.6 MB, free: 69.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.3103, allocations: 9.469 kB / 468.6 MB, free: 69.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005803/0.3108, allocations: 0.8744 MB / 469.5 MB, free: 69.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3108, allocations: 0.5469 kB / 469.5 MB, free: 69.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001443/0.3123, allocations: 0.7498 MB / 470.3 MB, free: 69.04 MB / 410.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.0002607/0.3125, allocations: 232.3 kB / 470.5 MB, free: 68.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005158/0.3131, allocations: 0.6385 MB / 471.1 MB, free: 68.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3131, allocations: 3.094 kB / 471.1 MB, free: 68.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.3133, allocations: 436.8 kB / 471.5 MB, free: 68.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.3144, allocations: 349.6 kB / 471.9 MB, free: 68.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005097/0.3195, allocations: 4.711 MB / 476.6 MB, free: 65.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.32, allocations: 0.5729 MB / 477.2 MB, free: 65.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004077/0.3204, allocations: 154.1 kB / 477.3 MB, free: 65.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.3208, allocations: 343.5 kB / 477.7 MB, free: 65.81 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3208, allocations: 0 / 477.7 MB, free: 65.81 MB / 410.7 MB Notification: Performance of Templates: time 0.03328/0.3541, allocations: 21.02 MB / 498.7 MB, free: 63.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.makefile [Timeout 660] (rm -f Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; mkfifo Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe >> ../files/Chemical_Chemical.Boundaries.Tests.TestBoundaries.sim & ./Chemical_Chemical.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Boundaries.Tests.TestBoundaries.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8036737381480634]