Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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.0008132/0.0008132, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00363/0.00363, allocations: 162.2 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.865/0.865, allocations: 158.6 MB / 186.5 MB, free: 2.609 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1849/0.1849, allocations: 36.34 MB / 275.1 MB, free: 10.86 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 415.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.309e-05, allocations: 2.281 kB / 415.6 MB, free: 5.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.2289/0.229, allocations: 65.97 MB / 481.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009628/0.2386, allocations: 9.632 MB / 491.2 MB, free: 1.566 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006896/0.2393, allocations: 19.81 kB / 491.2 MB, free: 1.547 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00089/0.2402, allocations: 333.6 kB / 491.5 MB, free: 1.219 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007885/0.241, allocations: 468.5 kB / 492 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.2522, allocations: 5.385 MB / 497.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.2536, allocations: 1.249 MB / 498.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.2541, allocations: 321.5 kB / 499 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.2548, allocations: 0.6039 MB / 499.6 MB, free: 9.184 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006492/0.2555, allocations: 370.9 kB / 499.9 MB, free: 8.82 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.2555, allocations: 47.94 kB / 500 MB, free: 8.773 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008203/0.2637, allocations: 6.056 MB / 0.4942 GB, free: 2.711 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.2639, allocations: 119.5 kB / 0.4943 GB, free: 2.594 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.2642, allocations: 243.4 kB / 0.4945 GB, free: 2.355 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009362/0.2736, allocations: 4.997 MB / 0.4994 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2736, allocations: 0 / 0.4994 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2736, allocations: 0 / 0.4994 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.2736, allocations: 0 / 0.4994 GB, free: 13.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002854/0.2765, allocations: 1.289 MB / 0.5006 GB, free: 12.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.2765, allocations: 8.031 kB / 0.5007 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.2769, allocations: 124.4 kB / 0.5008 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.2774, allocations: 366.1 kB / 0.5011 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.2774, allocations: 37.38 kB / 0.5012 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.2775, allocations: 48.38 kB / 0.5012 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.2785, allocations: 0.7352 MB / 0.5019 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2785, allocations: 7.875 kB / 0.5019 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.2785, allocations: 30.31 kB / 0.502 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.2786, allocations: 12 kB / 0.502 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2796, allocations: 0.523 MB / 0.5025 GB, free: 10.07 MB / 410.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.001595/0.2812, allocations: 1.607 MB / 0.504 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.282, allocations: 418.3 kB / 0.5044 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2821, allocations: 121.2 kB / 0.5046 GB, free: 7.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02867/0.3108, allocations: 16.81 MB / 0.521 GB, free: 7.035 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3108, allocations: 42.55 kB / 0.521 GB, free: 6.984 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.665e-06/0.3108, allocations: 0 / 0.521 GB, free: 6.984 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003571/0.3144, allocations: 1.629 MB / 0.5226 GB, free: 5.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3145, allocations: 110.8 kB / 0.5227 GB, free: 5.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3148, allocations: 345.6 kB / 0.523 GB, free: 4.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.3148, allocations: 29.7 kB / 0.5231 GB, free: 4.805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3149, allocations: 300.3 kB / 0.5234 GB, free: 4.508 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.3153, allocations: 111 kB / 0.5235 GB, free: 4.398 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3154, allocations: 89.66 kB / 0.5236 GB, free: 4.305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.3155, allocations: 358.8 kB / 0.5239 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.3157, allocations: 164.8 kB / 0.5241 GB, free: 3.781 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.316, allocations: 281.8 kB / 0.5243 GB, free: 3.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004477/0.3164, allocations: 372.9 kB / 0.5247 GB, free: 3.086 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3164, allocations: 0 / 0.5247 GB, free: 3.086 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001122/0.3175, allocations: 0.7248 MB / 0.5254 GB, free: 2.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3176, allocations: 11.94 kB / 0.5254 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.3176, allocations: 3.984 kB / 0.5254 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.3188, allocations: 0.5285 MB / 0.5259 GB, free: 1.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.3189, allocations: 39.92 kB / 0.526 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.32, allocations: 1.499 MB / 0.5274 GB, free: 212 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3202, allocations: 12 kB / 0.5274 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.3203, allocations: 28.02 kB / 0.5275 GB, free: 172 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003397/0.3206, allocations: 268.1 kB / 0.5277 GB, free: 15.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002303/0.3208, allocations: 271 kB / 0.528 GB, free: 15.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003911/0.3212, allocations: 369.8 kB / 0.5283 GB, free: 15.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.3212, allocations: 0 / 0.5283 GB, free: 15.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.0009359/0.3222, allocations: 0.6745 MB / 0.529 GB, free: 14.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.3222, allocations: 11.97 kB / 0.529 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3222, allocations: 4 kB / 0.529 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007755/0.3229, allocations: 449.3 kB / 0.5294 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.323, allocations: 39.97 kB / 0.5295 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3244, allocations: 1.441 MB / 0.5309 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.3246, allocations: 12 kB / 0.5309 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3246, allocations: 23.98 kB / 0.5309 GB, free: 12.5 MB / 442.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 (header.fluidState.phase,pressDrop.state.phase,mixer.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): 18 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.3248, allocations: 204.1 kB / 0.5311 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.3248, allocations: 47.7 kB / 0.5311 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.3272, allocations: 3.195 MB / 0.5343 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.3272, allocations: 4 kB / 0.5343 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.3272, allocations: 0 / 0.5343 GB, free: 9.027 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3272, allocations: 7.922 kB / 0.5343 GB, free: 9.02 MB / 442.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 postOpt removeSimpleEquations (simulation): time 0.003528/0.3308, allocations: 4.502 MB / 0.5387 GB, free: 4.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.3308, allocations: 7.938 kB / 0.5387 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3309, allocations: 40.8 kB / 0.5387 GB, free: 4.348 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/0.3324, allocations: 1.306 MB / 0.54 GB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.3324, allocations: 8.078 kB / 0.54 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.3344, allocations: 2.718 MB / 0.5427 GB, free: 164 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3344, allocations: 3.984 kB / 0.5427 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.3376, allocations: 4.217 MB / 0.5468 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.3378, allocations: 51.61 kB / 0.5468 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3378, allocations: 4 kB / 0.5468 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3379, allocations: 24.02 kB / 0.5469 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.338, allocations: 23.95 kB / 0.5469 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.338, allocations: 7.984 kB / 0.5469 GB, free: 11.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.3382, allocations: 239.1 kB / 0.5471 GB, free: 11.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3382, allocations: 0 / 0.5471 GB, free: 11.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002364/0.3406, allocations: 0.9946 MB / 0.5481 GB, free: 10.56 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mixer.p,mixer.h,header.p,header.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {2} * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003156/0.3437, allocations: 1.092 MB / 0.5492 GB, free: 9.465 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.3452, allocations: 0.77 MB / 0.5499 GB, free: 8.695 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3452, allocations: 0 / 0.5499 GB, free: 8.695 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006658/0.3459, allocations: 443.9 kB / 0.5503 GB, free: 8.246 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.3466, allocations: 223.8 kB / 0.5505 GB, free: 8.031 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.3485, allocations: 1.283 MB / 0.5518 GB, free: 6.715 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3487, allocations: 289 kB / 0.5521 GB, free: 6.406 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.3488, allocations: 32.5 kB / 0.5521 GB, free: 6.375 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3488, allocations: 3.938 kB / 0.5521 GB, free: 6.371 MB / 458.7 MB Notification: Performance of Templates: time 0.02996/0.3788, allocations: 27.57 MB / 0.579 GB, free: 10.75 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.536041277460754] Failed to read output from testmodel.py, exit status != 0: 0.3869660869240761 0.39472544299999995 0.11922027099999995 Calling exit ...