Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast.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.0009769/0.0009769, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008975/0.0008975, allocations: 161 kB / 24.56 MB, free: 16 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.9211/0.9211, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08599/0.08599, allocations: 19.74 MB / 281.2 MB, free: 9.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast") translateModel(ThermoPower.Test.WaterComponents.TestMixerSlowFast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.925e-05, allocations: 2.312 kB / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixerSlowFast): time 0.03691/0.03693, allocations: 15.98 MB / 374 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01521/0.05213, allocations: 9.157 MB / 383.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.05245, allocations: 15.88 kB / 383.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.05294, allocations: 150.7 kB / 383.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.05349, allocations: 361.3 kB / 383.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00902/0.06251, allocations: 4.526 MB / 388.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009669/0.06348, allocations: 0.9959 MB / 389.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.06391, allocations: 273.2 kB / 389.4 MB, free: 7.027 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005411/0.06445, allocations: 494.8 kB / 389.9 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.06484, allocations: 299.1 kB / 390.2 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.0649, allocations: 40 kB / 390.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008316/0.07322, allocations: 5.904 MB / 396.1 MB, free: 308 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.07331, allocations: 107.5 kB / 396.2 MB, free: 200 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.0735, allocations: 195.6 kB / 396.4 MB, free: 4 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005501/0.079, allocations: 4.642 MB / 401.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.079, allocations: 0 / 401.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.079, allocations: 4 kB / 401.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.07901, allocations: 4 kB / 401.1 MB, free: 11.34 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002159/0.08117, allocations: 1.269 MB / 402.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.08121, allocations: 12.56 kB / 402.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/0.08171, allocations: 168.4 kB / 402.5 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.08215, allocations: 338.7 kB / 402.9 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.08218, allocations: 33.38 kB / 402.9 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.08225, allocations: 40.38 kB / 402.9 MB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.08375, allocations: 0.6819 MB / 403.6 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.08376, allocations: 3.938 kB / 403.6 MB, free: 8.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.08379, allocations: 16 kB / 403.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.08381, allocations: 12 kB / 403.6 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008922/0.0847, allocations: 405.6 kB / 404 MB, free: 8.258 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.001507/0.08621, allocations: 1.603 MB / 405.6 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/0.08715, allocations: 427.3 kB / 406.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.0873, allocations: 89.05 kB / 406.1 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1566/0.2439, allocations: 17.51 MB / 423.6 MB, free: 42.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.2439, allocations: 46.78 kB / 423.7 MB, free: 42.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 2.775e-06/0.2439, allocations: 0 / 423.7 MB, free: 42.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.003875/0.2478, allocations: 1.558 MB / 425.3 MB, free: 42.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2478, allocations: 112.5 kB / 425.4 MB, free: 42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.248, allocations: 348.7 kB / 425.7 MB, free: 41.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.248, allocations: 31.33 kB / 425.7 MB, free: 41.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2482, allocations: 300.4 kB / 426 MB, free: 41.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.2482, allocations: 116.3 kB / 426.1 MB, free: 41.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.2483, allocations: 105.4 kB / 426.2 MB, free: 41.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.2484, allocations: 0.5171 MB / 426.8 MB, free: 41.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.2486, allocations: 157.8 kB / 426.9 MB, free: 41.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.2488, allocations: 286.1 kB / 427.2 MB, free: 40.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004263/0.2493, allocations: 385 kB / 427.6 MB, free: 40.78 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2493, allocations: 0 / 427.6 MB, free: 40.78 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001246/0.2505, allocations: 0.7298 MB / 428.3 MB, free: 40.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2505, allocations: 7.375 kB / 428.3 MB, free: 40.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2505, allocations: 0 / 428.3 MB, free: 40.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.252, allocations: 0.5444 MB / 428.9 MB, free: 40.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2521, allocations: 35.08 kB / 428.9 MB, free: 40.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009438/0.253, allocations: 1.195 MB / 430.1 MB, free: 39.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2532, allocations: 10.28 kB / 430.1 MB, free: 39.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.2532, allocations: 27.69 kB / 430.1 MB, free: 39.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002451/0.2535, allocations: 276.3 kB / 430.4 MB, free: 39.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002163/0.2537, allocations: 285.5 kB / 430.7 MB, free: 39.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004002/0.2541, allocations: 387.2 kB / 431 MB, free: 39.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.2541, allocations: 0 / 431 MB, free: 39.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001069/0.2551, allocations: 0.6748 MB / 431.7 MB, free: 39.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.2552, allocations: 8 kB / 431.7 MB, free: 39.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.2552, allocations: 0 / 431.7 MB, free: 39.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009292/0.2561, allocations: 490 kB / 432.2 MB, free: 39.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.2562, allocations: 35.08 kB / 432.2 MB, free: 39.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009998/0.2572, allocations: 1.169 MB / 433.4 MB, free: 37.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.2573, allocations: 11.44 kB / 433.4 MB, free: 37.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.2574, allocations: 25.98 kB / 433.4 MB, free: 37.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (Header1.fluidState.phase,PressDrop1.state.phase,Mixer1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,17)} Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/0.2575, allocations: 284.5 kB / 433.7 MB, free: 37.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.2576, allocations: 62.14 kB / 433.8 MB, free: 37.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.2594, allocations: 1.858 MB / 435.6 MB, free: 36.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2594, allocations: 11.7 kB / 435.7 MB, free: 36.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2594, allocations: 0 / 435.7 MB, free: 36.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2594, allocations: 5.875 kB / 435.7 MB, free: 36.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.2612, allocations: 2.768 MB / 438.4 MB, free: 33.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2612, allocations: 0 / 438.4 MB, free: 33.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.2614, allocations: 76.61 kB / 438.5 MB, free: 33.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008916/0.2623, allocations: 299.1 kB / 438.8 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.2623, allocations: 11.19 kB / 438.8 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.2637, allocations: 3.624 MB / 442.4 MB, free: 29.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2637, allocations: 0 / 442.4 MB, free: 29.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.2652, allocations: 2.477 MB / 444.9 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.2652, allocations: 44.11 kB / 444.9 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2653, allocations: 6.375 kB / 445 MB, free: 27.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.2654, allocations: 21.34 kB / 445 MB, free: 27.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.2655, allocations: 23.89 kB / 445 MB, free: 27.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2655, allocations: 15.8 kB / 445 MB, free: 27.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.819e-05/0.2656, allocations: 226.8 kB / 445.2 MB, free: 27.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2656, allocations: 4 kB / 445.2 MB, free: 27.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001641/0.2672, allocations: 0.9675 MB / 446.2 MB, free: 26.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Mixer1.p,Mixer1.h,Header1.p,Header1.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002591/0.2698, allocations: 1.085 MB / 447.3 MB, free: 25.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.271, allocations: 0.7121 MB / 448 MB, free: 24.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.271, allocations: 0 / 448 MB, free: 24.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006779/0.2717, allocations: 448.9 kB / 448.4 MB, free: 24.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.2723, allocations: 211.9 kB / 448.7 MB, free: 24.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2736, allocations: 1.087 MB / 449.7 MB, free: 23.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.071e-05/0.2737, allocations: 126.8 kB / 449.9 MB, free: 22.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.2738, allocations: 88.86 kB / 449.9 MB, free: 22.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.2739, allocations: 36.5 kB / 450 MB, free: 22.82 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2739, allocations: 0 / 450 MB, free: 22.82 MB / 330.7 MB Notification: Performance of Templates: time 0.03291/0.3068, allocations: 39.98 MB / 490 MB, free: 15.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestMixerSlowFast.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.390911346767098]